run() публичный Метод

Run the controller and parse the template
public run ( ) : Response
Результат Symfony\Component\HttpFoundation\Response
Пример #1
0
 /**
  * Renders the page picker.
  *
  * @return Response
  *
  * @Route("/page", name="contao_backend_page")
  */
 public function pageAction()
 {
     $this->container->get('contao.framework')->initialize();
     $controller = new BackendPage();
     return $controller->run();
 }