for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Steevanb\PhpBacktrace\Tests\Classes;
use Symfony\Component\Console\Formatter\OutputFormatter;
use Symfony\Component\Console\Formatter\OutputFormatterInterface;
use Symfony\Component\Console\Output\OutputInterface;
class TestOutput implements OutputInterface
{
/** @var string */
protected $output = '';
public function setFormatter(OutputFormatterInterface $formatter)
}
public function getFormatter()
return new OutputFormatter();
public function setDecorated($decorated)
public function isDecorated()
return false;
public function setVerbosity($level)
public function getVerbosity()
return static::VERBOSITY_QUIET;
public function isQuiet()
return true;
public function isVerbose()
public function isVeryVerbose()
public function isDebug()
public function writeln($messages, $options = self::OUTPUT_NORMAL)
$this->output .= $messages . "\n";
public function write($messages, $newline = false, $options = self::OUTPUT_NORMAL)
$this->output .= $messages;
/** @return string */
public function getOutput()
return $this->output;