classes/phing/filters/IconvFilter.php
public function chain(Reader $reader)
    {
        $filter = new self($reader);

        $filter->setInputEncoding($this->getInputEncoding());
        $filter->setOutputEncoding($this->getOutputEncoding());

        $filter->setInitialized(true);
        $filter->setProject($this->getProject());

        return $filter;
    }
public function chain(Reader $reader)
    {
        $filter = new self($reader);

        $filter->setInputEncoding($this->getInputEncoding());
        $filter->setOutputEncoding($this->getOutputEncoding());

        $filter->setInitialized(true);
        $filter->setProject($this->getProject());

        return $filter;
    }
public function chain ( Reader $ reader ) { $ filter = new self ( $ reader ) ; $ filter -> setInputEncoding ( $ this -> getInputEncoding ( ) ) ; $ filter -> setOutputEncoding ( $ this -> getOutputEncoding ( ) ) ; $ filter -> setInitialized ( true ) ; $ filter -> setProject ( $ this -> getProject ( ) ) ; return $ filter ; }
Creates a new IconvFilter 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 self A new filter based on this configuration, but filtering the specified reader.
Creates a new IconvFilter using the passed in Reader for instantiation .