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