run() public method

Run the controller
public run ( ) : Response
return Symfony\Component\HttpFoundation\Response
Esempio n. 1
0
 /**
  * Runs the main front end controller.
  *
  * @return Response
  */
 public function indexAction()
 {
     $this->container->get('contao.framework')->initialize();
     $controller = new FrontendIndex();
     return $controller->run();
 }