Back | Home
الـ Path الحالي: /home/picotech/domains/instantly.picotech.app/public_html/public/./../app/.././../../finland.picotech.app/public_html/storage/../vendor/./phpoption/../laravel/../nikic/../telnyx/../brick/../maximebf/../paragonie/../.././bootstrap/../vendor/phpunit/./../predis/../ezyang/../webmozart/../twilio/../barryvdh/./laravel-debugbar/src
الملفات الموجودة في هذا الـ Path:
.
..
Console
Controllers
DataCollector
DataFormatter
DebugbarViewEngine.php
Facade.php
Facades
JavascriptRenderer.php
LaravelDebugbar.php
LumenServiceProvider.php
Middleware
Resources
ServiceProvider.php
Storage
Support
SymfonyHttpDriver.php
Twig
debugbar-routes.php
helpers.php
مشاهدة ملف: 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'];
}
}