Пример #1
0
 /**
  * @param \Kdyby\Aop\JoinPoint\AroundMethod $m
  * @return \Cached\Cached
  */
 private function getAnnotation(Aop\JoinPoint\AroundMethod $m)
 {
     return $this->reader->getMethodAnnotation($m->getTargetReflection(), 'Cached\\Cached');
 }
Пример #2
0
 /**
  * @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');
 }