@@ 624-627 (lines=4) @@ | ||
621 | $app['eccube.event.dispatcher']->dispatch($event); |
|
622 | }); |
|
623 | ||
624 | $this->after(function(Request $request, Response $response, \Silex\Application $app) { |
|
625 | $event = 'eccube.event.controller.'.$request->attributes->get('_route').'.after'; |
|
626 | $app['eccube.event.dispatcher']->dispatch($event); |
|
627 | }); |
|
628 | ||
629 | $this->after(function(Request $request, Response $response, \Silex\Application $app) { |
|
630 | $app['eccube.event.dispatcher']->dispatch('eccube.event.app.after'); |
|
@@ 633-636 (lines=4) @@ | ||
630 | $app['eccube.event.dispatcher']->dispatch('eccube.event.app.after'); |
|
631 | }, self::LATE_EVENT); |
|
632 | ||
633 | $this->finish(function(Request $request, Response $response, \Silex\Application $app) { |
|
634 | $event = 'eccube.event.controller.'.$request->attributes->get('_route').'.finish'; |
|
635 | $app['eccube.event.dispatcher']->dispatch($event); |
|
636 | }); |
|
637 | ||
638 | $app = $this; |
|
639 | $this->on(\Symfony\Component\HttpKernel\KernelEvents::RESPONSE, function(\Symfony\Component\HttpKernel\Event\FilterResponseEvent $event) use ($app) { |