메소드 | 설명 | |
---|---|---|
__construct ( array $search, array $replace ) | Create a new ByteArrayReplacementFilter with $search and $replace. | |
filter ( array $buffer, integer $minReplaces ) : array | Perform the actual replacements on $buffer and return the result. | |
shouldBuffer ( array $buffer ) : boolean | Returns true if based on the buffer passed more bytes should be buffered. |
public __construct ( array $search, array $replace ) | ||
$search | array | |
$replace | array |
public shouldBuffer ( array $buffer ) : boolean | ||
$buffer | array | |
리턴 | boolean |