Rename ArrayIO to BufferIO
parent
a80001ad97
commit
99b7ab4021
|
@ -17,11 +17,9 @@ use Symfony\Component\Console\Input\StringInput;
|
||||||
use Symfony\Component\Console\Helper\HelperSet;
|
use Symfony\Component\Console\Helper\HelperSet;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The Input/Output helper.
|
|
||||||
*
|
|
||||||
* @author Jordi Boggiano <j.boggiano@seld.be>
|
* @author Jordi Boggiano <j.boggiano@seld.be>
|
||||||
*/
|
*/
|
||||||
class ArrayIO extends ConsoleIO
|
class BufferIO extends ConsoleIO
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @param string $input
|
* @param string $input
|
||||||
|
@ -41,6 +39,7 @@ class ArrayIO extends ConsoleIO
|
||||||
public function getOutput()
|
public function getOutput()
|
||||||
{
|
{
|
||||||
fseek($this->output->getStream(), 0);
|
fseek($this->output->getStream(), 0);
|
||||||
|
|
||||||
return stream_get_contents($this->output->getStream());
|
return stream_get_contents($this->output->getStream());
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue