![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/syn.corals.io/vendor/barryvdh/laravel-debugbar/src/ |
<?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']; } }