Пример #1
0
 public function getMethods()
 {
     $methods = array_map(function ($v) {
         return new MethodElement($v);
     }, $this->reflection->getOwnMethods());
     return array_filter($methods, function (MethodElement $element) {
         return !$element->isExcluded();
     });
 }