public function boot(Application $app)
 {
     $app->addEventListener(Application::EVENT_RESPONSE, [$this, 'onEventResponse'], Application::PRIORITY_LOW);
 }
예제 #2
0
 public function boot(Application $app)
 {
     $app->addEventListener(Application::EVENT_REQUEST, [$this, 'onEventRequest'], Application::PRIORITY_HIGH);
 }
 public function boot(Application $app)
 {
     $app->addEventListener(Application::EVENT_VIEW, [$this, 'onEventViews'], Application::PRIORITY_HIGH);
 }
 public function boot(Application $app)
 {
     $app->addEventListener(Application::EVENT_TERMINATE, [$this, 'onEventTerminate']);
 }
 public function boot(Application $app)
 {
     $app->addEventListener(Application::EVENT_EXCEPTION, [$this, 'onEventException'], Application::PRIORITY_HIGH);
 }