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