classes/phing/filters/ExpandProperties.php
public function read($len = null)
    {
        $buffer = $this->in->read($len);

        if ($buffer === -1) {
            return -1;
        }

        /**
         * @var Project $project
         */
        $project = $this->getProject();
        $buffer = $project->replaceProperties($buffer);

        return $buffer;
    }
public function read($len = null)
    {
        $buffer = $this->in->read($len);

        if ($buffer === -1) {
            return -1;
        }

        /**
         * @var Project $project
         */
        $project = $this->getProject();
        $buffer = $project->replaceProperties($buffer);

        return $buffer;
    }
public function read ( $ len = null ) { $ buffer = $ this -> in -> read ( $ len ) ; if ( $ buffer === - 1 ) { return - 1 ; } /**
         * @var Project $project
         */ $ project = $ this -> getProject ( ) ; $ buffer = $ project -> replaceProperties ( $ buffer ) ; return $ buffer ; }
Returns the filtered stream.
The original stream is first read in fully, and the Phing properties are expanded.

@param  null $len
@return mixed the filtered stream, or -1 if the end of the resulting stream has been reached.

@exception IOException if the underlying stream throws an IOException
during reading
Returns the filtered stream . The original stream is first read in fully and the Phing properties are expanded .