for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* (c) Jean-François Lépine <https://twitter.com/Halleck45>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Hal\Component\Output;
/**
* @package Hal\Component\Issue
class TestOutput implements Output
{
public $output;
public $err;
* @inheritdoc
public function writeln($message)
$this->write(PHP_EOL . $message);
return $this;
}
public function write($message)
$this->output .= $message;
public function err($message)
$this->err .= $message;
public function clearln()
public function hasAnsi()
return false;