/** * Get the (internal) controller name for this request * * @return string */ public function getControllerName() { if ($this->controller_name == '') { // swap any alias for the internal controller name $this->controller_name = $this->controller_map->getControllerName($this->getParam('controller', 'index')); } return $this->controller_name; }