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