/** * Get all annotations for the method name on the given class. * * @param string $class Fully qualified class name * @param string $method Method name * * @return ConfigObject ConfigObject instance containing all annotations. */ protected function annotationsFromMethod($class, $method) { return Annotations::getMethodAnnotations($class, $method); }