FluidTYPO3\Flux\Controller\AbstractFluxController::hasSubControllerActionOnForeignController PHP Method

hasSubControllerActionOnForeignController() protected method

protected hasSubControllerActionOnForeignController ( string $extensionName, string $controllerName, string $actionName ) : boolean
$extensionName string
$controllerName string
$actionName string
return boolean
    protected function hasSubControllerActionOnForeignController($extensionName, $controllerName, $actionName)
    {
        $potentialControllerClassName = $this->configurationService->getResolver()->resolveFluxControllerClassNameByExtensionKeyAndAction($extensionName, $actionName, $controllerName);
        $isForeign = $extensionName !== $this->extensionName;
        $isValidController = class_exists($potentialControllerClassName);
        return TRUE === $isForeign && TRUE === $isValidController;
    }