예제 #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');
 }