classes/phing/filters/ExpandProperties.php
Expands Phing Properties, if any, in the data.
<
p>
Example:
Or:
Extends from
\BaseFilterReader
Implements
\ChainableReader
see
\BaseFilterReader
author
Yannick Lecaillez
author
Hans Lellelid
package
phing.filters
version
$Revision: 526 $
Methods



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



read(
$len
=
null
)
:
mixedReturns the filtered stream.
The original stream is first read in fully, and the Phing properties are expanded.
Parameters
| Name |
Type |
Description |
| $len |
|
|
Returns
Details
- exception
- IOException if the underlying stream throws an IOException
during reading