protected function getControllerBaseName()
    {
        $controllerName = get_called_class();
        $controllerNameComponents = explode('\\', $controllerName);

        $baseName = array_pop($controllerNameComponents);
        $baseName = substr($baseName, 0, strrpos($baseName, 'Controller'));

        return $baseName;
    }