classes/phing/filters/ReplaceTokensWithFile.php
public function chain(Reader $reader)
    {
        $newFilter = new ReplaceTokensWithFile($reader);
        $newFilter->setProject($this->getProject());
        $newFilter->setTranslateHTML($this->getTranslateHTML());
        $newFilter->setDir($this->getDir());
        $newFilter->setPrefix($this->getPrefix());
        $newFilter->setPostfix($this->getPostfix());
        $newFilter->setBeginToken($this->getBeginToken());
        $newFilter->setEndToken($this->getEndToken());
        $newFilter->setInitialized(true);

        return $newFilter;
    }
public function chain(Reader $reader)
    {
        $newFilter = new ReplaceTokensWithFile($reader);
        $newFilter->setProject($this->getProject());
        $newFilter->setTranslateHTML($this->getTranslateHTML());
        $newFilter->setDir($this->getDir());
        $newFilter->setPrefix($this->getPrefix());
        $newFilter->setPostfix($this->getPostfix());
        $newFilter->setBeginToken($this->getBeginToken());
        $newFilter->setEndToken($this->getEndToken());
        $newFilter->setInitialized(true);

        return $newFilter;
    }
public function chain ( Reader $ reader ) { $ newFilter = new ReplaceTokensWithFile ( $ reader ) ; $ newFilter -> setProject ( $ this -> getProject ( ) ) ; $ newFilter -> setTranslateHTML ( $ this -> getTranslateHTML ( ) ) ; $ newFilter -> setDir ( $ this -> getDir ( ) ) ; $ newFilter -> setPrefix ( $ this -> getPrefix ( ) ) ; $ newFilter -> setPostfix ( $ this -> getPostfix ( ) ) ; $ newFilter -> setBeginToken ( $ this -> getBeginToken ( ) ) ; $ newFilter -> setEndToken ( $ this -> getEndToken ( ) ) ; $ newFilter -> setInitialized ( true ) ; return $ newFilter ; }
Creates a new ReplaceTokensWithFile 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 ReplaceTokensWithFile using the passed in Reader for instantiation .