/** * @param \Kdyby\Aop\JoinPoint\AroundMethod $m * @return \Cached\Cached */ private function getAnnotation(Aop\JoinPoint\AroundMethod $m) { return $this->reader->getMethodAnnotation($m->getTargetReflection(), 'Cached\\Cached'); }
/** * @param \Kdyby\Aop\JoinPoint\AroundMethod $m * @return \Klimesf\Secured\Secured|null */ private function getAnnotation(AroundMethod $m) { return $this->reader->getMethodAnnotation($m->getTargetReflection(), 'Klimesf\\Secured\\Secured'); }