/**
  * Creates a new ExpandProperties filter using the passed in
  * Reader for instantiation.
  * 
  * @param object A 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
  */
 function chain(Reader $reader)
 {
     $newFilter = new ExpandProperties($reader);
     $newFilter->setProject($this->getProject());
     return $newFilter;
 }
Esempio n. 2
0
 function addExpandProperties(ExpandProperties $o)
 {
     $o->setProject($this->project);
     $this->filterReaders[] = $o;
 }