classes/phing/filters/StripLineBreaks.php
public function chain(Reader $reader)
    {
        $newFilter = new StripLineBreaks($reader);
        $newFilter->setLineBreaks($this->getLineBreaks());
        $newFilter->setInitialized(true);
        $newFilter->setProject($this->getProject());

        return $newFilter;
    }
public function chain(Reader $reader)
    {
        $newFilter = new StripLineBreaks($reader);
        $newFilter->setLineBreaks($this->getLineBreaks());
        $newFilter->setInitialized(true);
        $newFilter->setProject($this->getProject());

        return $newFilter;
    }
public function chain ( Reader $ reader ) { $ newFilter = new StripLineBreaks ( $ reader ) ; $ newFilter -> setLineBreaks ( $ this -> getLineBreaks ( ) ) ; $ newFilter -> setInitialized ( true ) ; $ newFilter -> setProject ( $ this -> getProject ( ) ) ; return $ newFilter ; }
Creates a new StripLineBreaks using the passed in
Reader for instantiation.

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

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