TYPO3
7.6
Users
bogdan
Projects
Kapeli
Resources
Dash
Docsets
TYPO3
src
vendor
symfony
console
Output
BufferedOutput.php
Go to the documentation of this file.
1
<?php
2
3
/*
4
* This file is part of the Symfony package.
5
*
6
* (c) Fabien Potencier <fabien@symfony.com>
7
*
8
* For the full copyright and license information, please view the LICENSE
9
* file that was distributed with this source code.
10
*/
11
12
namespace
Symfony\Component\Console\Output;
13
17
class
BufferedOutput
extends
Output
18
{
22
private
$buffer
=
''
;
23
29
public
function
fetch
()
30
{
31
$content =
$this->buffer
;
32
$this->buffer =
''
;
33
34
return
$content;
35
}
36
40
protected
function
doWrite
($message, $newline)
41
{
42
$this->buffer .= $message;
43
44
if
($newline) {
45
$this->buffer .=
"\n"
;
46
}
47
}
48
}
Generated on Wed Nov 11 2015 01:51:51 for TYPO3 by
1.8.3