Back | Home
الـ Path الحالي: /home/picotech/domains/instantly.picotech.app/public_html/public/./../app/.././../../finland.picotech.app/public_html/storage/../vendor/./nikic/../dompdf/../alexandr-mironov/../monolog/../unicodeveloper/../dragonmantank/../telnyx/../filp/../phpstan/../nikic/../psy/../lcobucci/../telnyx/../messagebird/../phpunit/../barryvdh/laravel-debugbar/src/DataCollector/..
الملفات الموجودة في هذا الـ 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'];
    }
}