Barryvdh\Debugbar\LaravelDebugbar::__construct PHP 메소드

__construct() 공개 메소드

public __construct ( Illuminate\Contracts\Foundation\Application $app = null )
$app Illuminate\Contracts\Foundation\Application
    public function __construct($app = null)
    {
        if (!$app) {
            $app = app();
            //Fallback when $app is not given
        }
        $this->app = $app;
        $this->version = $app->version();
        $this->is_lumen = str_contains($this->version, 'Lumen');
    }