function addStripLineComments(StripLineComments $o) { $o->setProject($this->project); $this->filterReaders[] = $o; }
function chain(Reader $reader) { $newFilter = new StripLineComments($reader); $newFilter->setComments($this->getComments()); $newFilter->setInitialized(true); $newFilter->setProject($this->getProject()); return $newFilter; }