Class Swift_StreamFilters_StringReplacementFilter
Processes bytes as they pass through a buffer and replaces sequences in it.
- Swift_StreamFilters_StringReplacementFilter implements Swift_StreamFilter
Package: Swift
Author: Chris Corbyn
Located at vendors/swiftmailer/lib/classes/Swift/StreamFilters/StringReplacementFilter.php
Author: Chris Corbyn
Located at vendors/swiftmailer/lib/classes/Swift/StreamFilters/StringReplacementFilter.php
Methods summary
public
|
#
__construct( string|array $search, string|array $replace )
Create a new StringReplacementFilter with $search and $replace. |
public
boolean
|
#
shouldBuffer( string $buffer )
Returns true if based on the buffer passed more bytes should be buffered. |
public
string
|
Magic methods summary
Properties summary
private
mixed
|
$_search |
#
The needle(s) to search for |
private
mixed
|
$_replace |
#
The replacement(s) to make |