app; } /** * Get the config path * * @return string */ protected function getConfigPath() { return base_path('config/debugbar.php'); } /** * Register the Debugbar Middleware * * @param string $middleware */ protected function registerMiddleware($middleware) { $this->app->middleware([$middleware]); } /** * Check the App Debug status */ protected function checkAppDebug() { return env('APP_DEBUG'); } /** * Get the services provided by the provider. * * @return array */ public function provides() { return array('debugbar', 'command.debugbar.clear'); } }