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;
|
|
|
|
|
|
|
|
class OCCOutput extends BufferedOutput implements ConsoleOutputInterface
|
|
|
|
{
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets the OutputInterface for errors.
|
|
|
|
*
|
|
|
|
* @return OutputInterface
|
|
|
|
*/
|
|
|
|
public function getErrorOutput()
|
|
|
|
{
|
|
|
|
// TODO: Implement getErrorOutput() method.
|
|
|
|
return $this;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function setErrorOutput(OutputInterface $error)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|