Exemplo n.º 1
0
 /**
  *
  * @return ReflectionAnnotatedMethod
  */
 protected function getReflectedController()
 {
     if ($this->reflectedController == NULL) {
         try {
             $this->reflectedController = new ReflectionAnnotatedMethod($this->controllerName, $this->controllerMethod);
         } catch (ReflectionException $e) {
             ApplicationHook::logError($e->getTraceAsString());
             return NULL;
         }
     }
     return $this->reflectedController;
 }
Exemplo n.º 2
0
 /**
  *
  * @return ReflectionAnnotatedMethod
  */
 protected function getReflectedController()
 {
     if ($this->reflectedController == NULL) {
         try {
             $this->reflectedController = new ReflectionAnnotatedMethod($this->controllerName, $this->controllerMethod);
         } catch (ReflectionException $e) {
             ApplicationHook::logError($this->controllerName . "." . $this->controllerMethod . " is NOT reflected!");
             return NULL;
         }
     }
     return $this->reflectedController;
 }