Barryvdh\Debugbar\Twig\Extension\Stopwatch::__construct PHP Method

__construct() public method

Create a new auth extension.
public __construct ( Illuminate\Foundation\Application $app )
$app Illuminate\Foundation\Application
    public function __construct(Application $app)
    {
        if ($app->bound('debugbar')) {
            $this->debugbar = $app['debugbar'];
        } else {
            $this->debugbar = null;
        }
    }