if (!
$request->
getControllerName()) { $request->
setControllerName($this->defaultController
);
} if (!
$request->
getModuleName()) { $request->
setModuleName($this->defaultModule
);
} $module =
$request->
getModuleName();
$this->curModule =
$module;
$moduleName =
$this->
formatModuleName($module);
$controllerName =
$this->
formatControllerName($request->
getControllerName());
$class =
['Shopware', 'Controllers',
$moduleName,
$controllerName];
/** @var class-string $className */
$className =
implode(self::CLASS_NAMESPACE_SEPARATOR,
$class);
return $className;
} /**
* Returns the controller path of the given request class.
*
* @return object|string|null
*/