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

Run the controller
public run ( ) : Response
Результат Symfony\Component\HttpFoundation\Response
Пример #1
0
 /**
  * Runs the command scheduler.
  *
  * @return Response
  *
  * @Route("/_contao/cron", name="contao_frontend_cron")
  */
 public function cronAction()
 {
     $this->container->get('contao.framework')->initialize();
     $controller = new FrontendCron();
     return $controller->run();
 }