classes/phing/filters/TranslateGettext.php
public function chain(Reader $reader)
    {
        $newFilter = new TranslateGettext($reader);
        $newFilter->setProject($this->getProject());
        $newFilter->setDomain($this->getDomain());
        $newFilter->setLocale($this->getLocale());
        $newFilter->setDir($this->getDir());

        return $newFilter;
    }
public function chain(Reader $reader)
    {
        $newFilter = new TranslateGettext($reader);
        $newFilter->setProject($this->getProject());
        $newFilter->setDomain($this->getDomain());
        $newFilter->setLocale($this->getLocale());
        $newFilter->setDir($this->getDir());

        return $newFilter;
    }
public function chain ( Reader $ reader ) { $ newFilter = new TranslateGettext ( $ reader ) ; $ newFilter -> setProject ( $ this -> getProject ( ) ) ; $ newFilter -> setDomain ( $ this -> getDomain ( ) ) ; $ newFilter -> setLocale ( $ this -> getLocale ( ) ) ; $ newFilter -> setDir ( $ this -> getDir ( ) ) ; return $ newFilter ; }
Creates a new TranslateGettext filter using the passed in
Reader for instantiation.

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

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