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