Method | Description | |
---|---|---|
__construct ( string | array $search, string | array $replace ) | Create a new StringReplacementFilter with $search and $replace. | |
filter ( string $buffer ) : string | Perform the actual replacements on $buffer and return the result. | |
shouldBuffer ( string $buffer ) : boolean | Returns true if based on the buffer passed more bytes should be buffered. |
public shouldBuffer ( string $buffer ) : boolean | ||
$buffer | string | |
return | boolean |