ApplicationRouting::initializeFrontend PHP Method

initializeFrontend() protected method

protected initializeFrontend ( string $app ) : string
$app string The name of the application to load (ex. frontend_ajax)
return string The name of the application class we need to instantiate.
    protected function initializeFrontend($app)
    {
        $init = new FrontendInit($this->container->get('kernel'));
        $init->initialize($app);
        return $app === 'FrontendAjax' ? 'Frontend\\Core\\Engine\\Ajax' : 'Frontend\\Core\\Engine\\Frontend';
    }