Add debug option

This commit is contained in:
Frédéric Guillot
2014-12-31 12:56:29 -05:00
parent 772804add8
commit 198f8d6a8e
8 changed files with 23 additions and 10 deletions

View File

@@ -11,6 +11,7 @@ class DatabaseProvider implements ServiceProviderInterface
public function register(Container $container)
{
$container['db'] = $this->getInstance();
$container['db']->stopwatch = DEBUG;
}
/**