/** * @param PrefixLines $o */ public function addEscapeUnicode(EscapeUnicode $o) { $o->setProject($this->project); $this->filterReaders[] = $o; }
/** * Creates a new EscapeUnicode using the passed in * Reader for instantiation. * * @param rdr A Reader object providing the underlying stream. * Must not be <code>null</code>. * * @return a new filter based on this configuration, but filtering * the specified reader */ public function chain(Reader $rdr) { $newFilter = new EscapeUnicode($rdr); $newFilter->setInitialized(true); $newFilter->setProject($this->getProject()); return $newFilter; }