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