classes/phing/filters/TidyFilter.php
public function chain(Reader $reader)
    {
        $newFilter = new TidyFilter($reader);
        $newFilter->setConfigParameters($this->configParameters);
        $newFilter->setEncoding($this->encoding);
        $newFilter->setProject($this->getProject());

        return $newFilter;
    }
public function chain(Reader $reader)
    {
        $newFilter = new TidyFilter($reader);
        $newFilter->setConfigParameters($this->configParameters);
        $newFilter->setEncoding($this->encoding);
        $newFilter->setProject($this->getProject());

        return $newFilter;
    }
public function chain ( Reader $ reader ) { $ newFilter = new TidyFilter ( $ reader ) ; $ newFilter -> setConfigParameters ( $ this -> configParameters ) ; $ newFilter -> setEncoding ( $ this -> encoding ) ; $ newFilter -> setProject ( $ this -> getProject ( ) ) ; return $ newFilter ; }
Creates a new TidyFilter using the passed in Reader for instantiation.

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

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