Example #1
0
 public function getAttributesRecursive()
 {
     $attrs = $this->info['attributes'];
     $p = get_parent_class($this->class);
     if ($p !== false) {
         $rm = new ReflectionMethod($p, $this->name);
         if (!$rm->isPrivate()) {
             $attrs += $rm->getAttributesRecursive();
         }
     }
     return $attrs;
 }