Recca0120\LaravelTracy\Debugbar::__construct PHP Méthode

__construct() public méthode

__construct.
public __construct ( array $config, Illuminate\Http\Request $request = null, Illuminate\Contracts\Foundation\Application $app = null )
$config array
$request Illuminate\Http\Request
$app Illuminate\Contracts\Foundation\Application
    public function __construct($config, Request $request = null, Application $app = null)
    {
        $this->request = is_null($request) === true ? Request::capture() : $request;
        $this->ajax = $this->request->ajax();
        $this->app = $app;
        $this->accepts = Arr::get($config, 'accepts', []);
        $this->showBar = Arr::get($config, 'showBar', false);
        $this->bar = Debugger::getBar();
        $this->initializeTracyDebuger($config);
        $this->loadPanels($config);
    }