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