1
0
Fork 0

Rename ArrayIO to BufferIO

pull/1288/head
Jordi Boggiano 2012-11-04 17:10:42 +01:00
parent a80001ad97
commit 99b7ab4021
1 changed files with 2 additions and 3 deletions

View File

@ -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());
} }
} }