public function chain(Reader $reader)
    {
        $newFilter = new LineContainsRegExp($reader);
        $newFilter->setRegexps($this->getRegexps());
        $newFilter->setNegate($this->isNegated());
        $newFilter->setCaseSensitive($this->isCaseSensitive());
        $newFilter->setInitialized(true);
        $newFilter->setProject($this->getProject());

        return $newFilter;
    }
public function chain(Reader $reader)
    {
        $newFilter = new LineContainsRegExp($reader);
        $newFilter->setRegexps($this->getRegexps());
        $newFilter->setNegate($this->isNegated());
        $newFilter->setCaseSensitive($this->isCaseSensitive());
        $newFilter->setInitialized(true);
        $newFilter->setProject($this->getProject());

        return $newFilter;
    }
public function chain ( Reader $ reader ) { $ newFilter = new LineContainsRegExp ( $ reader ) ; $ newFilter -> setRegexps ( $ this -> getRegexps ( ) ) ; $ newFilter -> setNegate ( $ this -> isNegated ( ) ) ; $ newFilter -> setCaseSensitive ( $ this -> isCaseSensitive ( ) ) ; $ newFilter -> setInitialized ( true ) ; $ newFilter -> setProject ( $ this -> getProject ( ) ) ; return $ newFilter ; }
Creates a new LineContainsRegExp using the passed in
Reader for instantiation.

@param    Reader $reader
@throws   Exception
@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 LineContainsRegExp using the passed in Reader for instantiation .