Or:
Show file Open project: vjousse/symfony-1.4 Class Usage Examples
Method | Description | |
---|---|---|
chain ( Reader $reader ) : object | Creates a new StripLineBreaks using the passed in Reader for instantiation. | |
getLineBreaks ( ) : string | Gets the line-breaking characters. | |
read ( $len = null ) : mixed | Returns the filtered stream, only including characters not in the set of line-breaking characters. | |
setLineBreaks ( string $lineBreaks ) | Sets the line-breaking characters. |
Method | Description | |
---|---|---|
_initialize ( ) | Parses the parameters to set the line-breaking characters. |
public getLineBreaks ( ) : string | ||
return | string | A String containing all the characters that are considered as line-breaking. |
public setLineBreaks ( string $lineBreaks ) | ||
$lineBreaks | string | A String containing all the characters to be considered as line-breaking. |