Author: Tijs Verkoyen (tijs@sumocoders.be)
Author: Davy Hellemans (davy.hellemans@netlash.com)
Author: Matthias Mullie (forkcms@mullie.eu)
Inheritance: extends Common\Core\Init
Beispiel #1
0
 /**
  * @param string $app 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';
 }