PHP Interface Swift_StreamFilter, Halite

Author: Chris Corbyn
显示文件 Open project: HaliteChallenge/Halite Interface Usage Examples

Public Methods

Method Description
filter ( mixed $buffer ) : mixed Filters $buffer and returns the changes.
shouldBuffer ( mixed $buffer ) : boolean Based on the buffer given, this returns true if more buffering is needed.

Method Details

filter() public method

Filters $buffer and returns the changes.
public filter ( mixed $buffer ) : mixed
$buffer mixed
return mixed

shouldBuffer() public method

Based on the buffer given, this returns true if more buffering is needed.
public shouldBuffer ( mixed $buffer ) : boolean
$buffer mixed
return boolean