Silex Provider: move Run::register() to Provider::register

This commit is contained in:
filp
2013-03-14 11:40:31 +00:00
parent 00847c237c
commit 57e295b10c
+2 -4
View File
@@ -30,13 +30,11 @@ class DamnitServiceProvider implements ServiceProviderInterface
});
$app->error(array($app['damnit'], Run::EXCEPTION_HANDLER));
$app['damnit']->register();
}
/**
* @see Silex\ServiceProviderInterface::boot
*/
public function boot(Application $app)
{
$app['damnit']->register();
}
public function boot(Application $app) {}
}