@@ 648-651 (lines=4) @@ | ||
645 | $app['eccube.event.dispatcher']->dispatch($event); |
|
646 | }); |
|
647 | ||
648 | $this->after(function(Request $request, Response $response, \Silex\Application $app) { |
|
649 | $event = 'eccube.event.controller.'.$request->attributes->get('_route').'.after'; |
|
650 | $app['eccube.event.dispatcher']->dispatch($event); |
|
651 | }); |
|
652 | ||
653 | $this->after(function(Request $request, Response $response, \Silex\Application $app) { |
|
654 | $app['eccube.event.dispatcher']->dispatch('eccube.event.app.after'); |
|
@@ 657-660 (lines=4) @@ | ||
654 | $app['eccube.event.dispatcher']->dispatch('eccube.event.app.after'); |
|
655 | }, self::LATE_EVENT); |
|
656 | ||
657 | $this->finish(function(Request $request, Response $response, \Silex\Application $app) { |
|
658 | $event = 'eccube.event.controller.'.$request->attributes->get('_route').'.finish'; |
|
659 | $app['eccube.event.dispatcher']->dispatch($event); |
|
660 | }); |
|
661 | ||
662 | $app = $this; |
|
663 | $this->on(\Symfony\Component\HttpKernel\KernelEvents::RESPONSE, function(\Symfony\Component\HttpKernel\Event\FilterResponseEvent $event) use ($app) { |