classes/phing/filters/StripLineBreaks.php
\StripLineBreaks
Filter to flatten the stream to a single line.
Example:
Or:
- Extends from
- \BaseParamFilterReader
- Implements
- \ChainableReader
- see
- \BaseParamFilterReader
- access
- public
- author
- Yannick Lecaillez
- author
- hans lellelid, hans@velum.net
- copyright
- © 2003 seasonfive. All rights reserved
- package
- phing.filters
- version
- $Revision: 526 $ $Date: 2009-08-11 14:11:17 +0200 (Tue, 11 Aug 2009) $
Constants
Properties
Methods

chain(
object $reader
)
:
objectCreates a new StripLineBreaks using the passed in
Reader for instantiation.
| Name | Type | Description |
|---|---|---|
| $reader | object | A Reader object providing the underlying stream. Must not be |
| Type | Description |
|---|---|
| object |

read(
$len
=
null
)
:
mixedReturns the filtered stream, only including
characters not in the set of line-breaking characters.
| Name | Type | Description |
|---|---|---|
| $len |
| Type | Description |
|---|---|
| mixed |
- exception
- IOException if the underlying stream throws an IOException during reading