2019-01-19 14:40:52 +00:00
|
|
|
<?php
|
|
|
|
|
2019-01-19 14:54:24 +00:00
|
|
|
namespace OCA\OCCWeb\Controller;
|
2019-01-19 14:40:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
use Symfony\Component\Console\Output\BufferedOutput;
|
|
|
|
use Symfony\Component\Console\Output\ConsoleOutputInterface;
|
2020-01-26 14:37:16 +00:00
|
|
|
use Symfony\Component\Console\Output\ConsoleSectionOutput;
|
2019-01-19 14:40:52 +00:00
|
|
|
use Symfony\Component\Console\Output\OutputInterface;
|
|
|
|
|
2020-01-26 14:37:16 +00:00
|
|
|
/**
|
|
|
|
* @method ConsoleSectionOutput section()
|
|
|
|
*/
|
2019-01-19 16:20:07 +00:00
|
|
|
class OccOutput extends BufferedOutput implements ConsoleOutputInterface
|
2019-01-19 14:40:52 +00:00
|
|
|
{
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets the OutputInterface for errors.
|
|
|
|
*
|
|
|
|
* @return OutputInterface
|
|
|
|
*/
|
|
|
|
public function getErrorOutput()
|
|
|
|
{
|
|
|
|
// TODO: Implement getErrorOutput() method.
|
|
|
|
return $this;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function setErrorOutput(OutputInterface $error)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
2020-01-26 14:37:16 +00:00
|
|
|
|
2020-01-29 21:03:47 +00:00
|
|
|
// public function __call($name, $arguments) {
|
|
|
|
// // TODO: Implement @method ConsoleSectionOutput section()
|
|
|
|
// }
|
2019-01-19 14:40:52 +00:00
|
|
|
}
|