Skip to content

Commit

Permalink
DebugToolbar の Event に eccube.event.dispatcher も表示するよう修正
Browse files Browse the repository at this point in the history
  • Loading branch information
nanasess committed Oct 5, 2017
1 parent 9b1714a commit 16b183a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Eccube/ServiceProvider/EccubePluginServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ class EccubePluginServiceProvider implements ServiceProviderInterface, BootableP
public function register(Container $app)
{
// EventDispatcher
$app['eccube.event.dispatcher'] = function () {
return new EventDispatcher();
$app['eccube.event.dispatcher'] = function () use ($app) {
return $app['dispatcher'];
};

// プラグインディレクトリを探索.
Expand Down

0 comments on commit 16b183a

Please sign in to comment.