public function boot(Application $app) { if ($app['debug'] === true) { $app['db.config']->setSQLLogger($app['db.logger']); } }