2019-01-19 14:40:52 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Created by IntelliJ IDEA.
|
|
|
|
* User: philippe-adrien
|
|
|
|
* Date: 2019-01-18
|
|
|
|
* Time: 19:08
|
|
|
|
*/
|
|
|
|
|
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;
|
|
|
|
use Symfony\Component\Console\Output\OutputInterface;
|
|
|
|
|
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)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|