public function getMethods($annotationName) { $result = []; if ($this->reflection->getMethodsAnnotations() !== false) { foreach ($this->reflection->getMethodsAnnotations() as $method => $annotations) { $list = ArrayList::create($annotations->getAnnotations()); if ($list->find(function (Annotation $annotation) use($annotationName) { return $annotation->getName() == $annotationName; }) != null) { $result[$method] = $list; } } } return $result; }
public static function __set_state($data) { return parent::__set_state($data); }