Ejemplo n.º 1
0
 /**
  * Will collect all methods from a parent class.
  *
  * @param integer $filter Optional bitfield with modifiers that a collected
  *        method must match to.
  *
  * @return array(\ReflectionMethod)
  */
 private function _collectMethodsFromParentClass($filter)
 {
     $result = parent::collectMethods();
     foreach ($this->_parentClass->getMethods() as $method) {
         $result = $this->_collectMethodFromParentClass($method, $result);
     }
     return $this->prepareCollectedObjects($filter, $result);
 }