Barryvdh\Debugbar\LaravelDebugbar::isEnabled PHP Method

isEnabled() public method

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

Usage Example

 /**
  * Check if the Debugbar is enabled
  *
  * @return boolean 
  * @static 
  */
 public static function isEnabled()
 {
     return \Barryvdh\Debugbar\LaravelDebugbar::isEnabled();
 }
All Usage Examples Of Barryvdh\Debugbar\LaravelDebugbar::isEnabled