classes/phing/filters/ConcatFilter.php
public function chain(Reader $rdr)
    {
        $newFilter = new ConcatFilter($rdr);
        $newFilter->setProject($this->getProject());
        $newFilter->setPrepend($this->getPrepend());
        $newFilter->setAppend($this->getAppend());

        return $newFilter;
    }
public function chain(Reader $rdr)
    {
        $newFilter = new ConcatFilter($rdr);
        $newFilter->setProject($this->getProject());
        $newFilter->setPrepend($this->getPrepend());
        $newFilter->setAppend($this->getAppend());

        return $newFilter;
    }
public function chain ( Reader $ rdr ) { $ newFilter = new ConcatFilter ( $ rdr ) ; $ newFilter -> setProject ( $ this -> getProject ( ) ) ; $ newFilter -> setPrepend ( $ this -> getPrepend ( ) ) ; $ newFilter -> setAppend ( $ this -> getAppend ( ) ) ; return $ newFilter ; }
Creates a new ConcatReader using the passed in
Reader for instantiation.

@param Reader $rdr A Reader object providing the underlying stream.
Must not be <code>null</code>.

@return ConcatFilter a new filter based on this configuration, but filtering
the specified reader
Creates a new ConcatReader using the passed in Reader for instantiation .