private function registerControllersActions($areaName, $fullPath) { $class = new \ReflectionClass($fullPath); $actions = $class->getMethods(); foreach ($actions as $action) { if (!$action->isPublic() || $action->name == '__construct') { continue; } $this->_appStructure[$areaName][$fullPath][$action->name] = []; $realRoute = $this->validateRouteUri($areaName, $fullPath, $action->name); $actionDoc = AnnotationParser::getDoc($action); $actionData = AnnotationParser::parseDoc($actionDoc, $this->_actionDataTemplate, 'action'); $actionData['defaultRoute'] = $realRoute; $actionData = $this->registerActionBindings($action, $actionData); $this->_appStructure[$areaName][$fullPath][$action->name] = $actionData; $this->_actionsArray[$action->name] = $this->_appStructure[$areaName][$fullPath][$action->name]; } }