public function isEnabled() { if ($this->enabled === null) { $this->enabled = value($this->app['config']->get('debugbar.enabled')); } return $this->enabled; }
/** * Check if the Debugbar is enabled * * @return boolean * @static */ public static function isEnabled() { return \Barryvdh\Debugbar\LaravelDebugbar::isEnabled(); }