A BufferedOutput that keeps only the last N chars.
- author Jérémy Derussé
Cloneable
Instantiable
Constants |
Methods |
public
__construct
(
int
$maxLength
,
?
int
$verbosity
=
32
self::VERBOSITY_NORMAL,
bool
$decorated
=
false
,
?
Symfony |
public
fetch
() :
string
Empties buffer and returns its content. |
Methods |
protected
doWrite
(
string
$message
,
bool
$newline
) Writes a message to the output. |
Properties |
private string $buffer |
private int $maxLength |