src/Mvc/Controller/AbstractController.php
private function parseAnnotations(\ReflectionMethod $action)
    {
        if ($action->isConstructor() || $action->isDestructor() || $action->isStatic() || $action->isFinal()) {
            return;
        }
        
        $rfMethod = new \ReflectionMethod($this, $action->name);
        $anno = $rfMethod->getDocComment();
        
        if ($anno && preg_match('#@webMethod#', $anno)) {
            $this->actions[] = $action->name;
            return;
        }
        
        if (! $this->parseParameters($action)) {
            return;
        }
        
        $this->actions[] = $action->name;
    }
private function parseAnnotations(\ReflectionMethod $action)
    {
        if ($action->isConstructor() || $action->isDestructor() || $action->isStatic() || $action->isFinal()) {
            return;
        }
        
        $rfMethod = new \ReflectionMethod($this, $action->name);
        $anno = $rfMethod->getDocComment();
        
        if ($anno && preg_match('#@webMethod#', $anno)) {
            $this->actions[] = $action->name;
            return;
        }
        
        if (! $this->parseParameters($action)) {
            return;
        }
        
        $this->actions[] = $action->name;
    }
Parse the settings out of annotations

@param \ReflectionMethod $action