ok
Direktori : /home2/selectio/public_html/a1tex.in/vendor/barryvdh/laravel-debugbar/src/ |
Current File : /home2/selectio/public_html/a1tex.in/vendor/barryvdh/laravel-debugbar/src/LumenServiceProvider.php |
<?php namespace Barryvdh\Debugbar; use Laravel\Lumen\Application; class LumenServiceProvider extends ServiceProvider { /** @var Application */ protected $app; /** * Get the active router. * * @return Application */ protected function getRouter() { return $this->app->router; } /** * 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]); } /** * Get the services provided by the provider. * * @return array */ public function provides() { return ['debugbar', 'command.debugbar.clear']; } }