Get controller name.

@return string
8696
public function getDestinationFilePath()
    {
        $path = $this->laravel['components']->getComponentPath($this->getComponentName());

        $controllerPath = $this->laravel['components']->config('paths.generator.controller');

        return $path . $controllerPath . '/' . $this->getControllerName() . '.php';
    }
1187933
protected function _getController()
    {
        if (!$this->_controller instanceof KControllerInterface) {
            $this->_controller = $this->getObject($this->_controller);
        }

        return $this->_controller;
    }
277358
public function getName()
	{
		if (empty($this->name))
		{
			$reflect = new \ReflectionClass($this);

			$this->name = strtolower(str_replace('Driver', '', $reflect->getShortName()));
		}

		return $this->name;
	}
1005372
public function getController()
    {
        return $this->controller
            ? $this->controller
            : $this->controller = CalendarEvent_Controller::create($this->owner);
    }
1124429
public function GetControllerName () {
		if ($this->controllerName === NULL) {
			$routerClass = self::$routerClass;
			$router = & $routerClass::GetInstance();
			if (isset($this->globalGet[$router::URL_PARAM_CONTROLLER])) 
				$this->controllerName = $this->GetParam($router::URL_PARAM_CONTROLLER, 'a-zA-Z0-9\-_/', '', 'string');
		}
		return $this->controllerName;
	}
216122
public function controllerList()
    {
        $names = $this->controllerManager->getCanonicalNames();

        $controllers = array();

        foreach ($names as $name) {
            try {
                $controllers[$name] = $this->controllerManager->get($name);
            } catch (\Exception $e) {
                continue;
            }
        }

        return $controllers;
    }
487943
public function getControllerObjectName()
    {
        $possibleObjectName = '@package\@subpackage\Controller\@controllerController';
        $possibleObjectName = str_replace('@package', str_replace('.', '\\', $this->controllerPackageKey), $possibleObjectName);
        $possibleObjectName = str_replace('@subpackage', $this->controllerSubpackageKey, $possibleObjectName);
        $possibleObjectName = str_replace('@controller', $this->controllerName, $possibleObjectName);
        $possibleObjectName = str_replace('\\\\', '\\', $possibleObjectName);

        $controllerObjectName = $this->objectManager->getCaseSensitiveObjectName($possibleObjectName);
        return ($controllerObjectName !== false) ? $controllerObjectName : '';
    }
980669
public function getController()
    {
        if (! $this->controller) {
            $class = $this->parseControllerCallback()[0];

            $this->controller = $this->container->make(ltrim($class, '\\'));
        }

        return $this->controller;
    }
300553
public function getControllerName()
    {
        if (null == $this->controllerName) {
            $this->controllerName = ucfirst($this->input->getArgument('controllerName'));
        }
        return $this->controllerName;
    }
460514
private function getStubName()
    {
        if ($this->option('plain') === true) {
            $stub = '/controller-plain.stub';
        } elseif ($this->option('api') === true) {
            $stub = '/controller-api.stub';
        } else {
            $stub = '/controller.stub';
        }

        return $stub;
    }
561004
public function getExpirationTag() : string
    {
        // An approximate, quick-to-compute rule that will force renewing the cache if a controller is added are a parameter is fetched.
        return implode('-/-', $this->controllers).($this->controllerDetector !== null ? $this->controllerDetector->getExpirationTag() : '');
    }
1313113
public function getCommands()
    {
        \Yii::beginProfile('getControllers: '.$this->controllerPrefix);

        $controllers = [];

        if ($allControllers = static::getAppCommands()) {
            foreach ($allControllers as $controllerRoute) {
                $controllerRoutes = explode('/', $controllerRoute);
                $controllerRouteLast = $controllerRoutes[count($controllerRoutes) - 1];

                $prefixs = explode("-", $controllerRouteLast);

                if (isset($prefixs[0]) && $prefixs[0] == $this->controllerPrefix) {
                    $controllers[] = $controllerRoute;
                }
            }
        }

        \Yii::endProfile('getControllers: '.$this->controllerPrefix);

        return $controllers;
    }
749192
private function getComponentsName(): string
    {
        $dt = debug_backtrace();
        $parts = array_reverse(explode('\\', $dt[2]['class']));
        $strip = [
            'Controller',
            'Model',
            'View'
        ];

        return str_replace($strip, '', $parts[0]);
    }
198892
public function GetActionName () {
		if ($this->actionName === NULL) {
			$routerClass = self::$routerClass;
			$router = & $routerClass::GetInstance();
			if (isset($this->globalGet[$router::URL_PARAM_ACTION])) 
				$this->actionName = $this->GetParam($router::URL_PARAM_ACTION, 'a-zA-Z0-9\-_', '', 'string');
		}
		return $this->actionName;
	}
470359
protected function getStartControllerKey()
    {
        $controllerKey = Registry::getConfig()->getRequestControllerId();

        // Use default route in case no controller id is given
        if (!$controllerKey) {
            $session = \OxidEsales\Eshop\Core\Registry::getSession();
            if ($this->isAdmin()) {
                $controllerKey = $session->getVariable("auth") ? 'admin_start' : 'login';
            } else {
                $controllerKey = $this->getFrontendStartControllerKey();
            }
            $session->setVariable('cl', $controllerKey);
        }

        return $controllerKey;
    }
366555
public function getControllerSubPath()
    {
        $subPath = '';
        $controllerNamespace = $this->getControllerNamespace();
        if (strpos($controllerNamespace, Yii::getApp()->controllerNamespace) === 0) {
            $subPath = substr($controllerNamespace, strlen(Yii::getApp()->controllerNamespace));
            $subPath = ($subPath !== '') ? str_replace('\\', '/', substr($subPath, 1)) . '/' : '';
        }
        return $subPath;
    }
792316
public function getController()
    {
        if ($this->controller) {
            return $this->controller;
        }

        $controllerClass = null;
        foreach (array_reverse(ClassInfo::ancestry($this->getClassName())) as $sliceClass) {
            $controllerClass = "{$sliceClass}_Controller";
            if (class_exists($controllerClass)) {
                break;
            }

            $controllerClass = "{$sliceClass}Controller";
            if (class_exists($controllerClass)) {
                break;
            }
        }

        if (!class_exists($controllerClass)) {
            throw new Exception("Could not find controller class for {$this->getClassName()}");
        }

        $this->controller = Injector::inst()->create($controllerClass, $this);

        return $this->controller;
    }