/** * @param string $methodName * * @return array<object> */ public function getAnnotations($methodName = NULL) { return Annotations::getAnnotations($this, $methodName); }