Barryvdh\Debugbar\LaravelDebugbar::enable PHP Method

enable() public method

Enable the Debugbar and boot, if not already booted.
public enable ( )
    public function enable()
    {
        $this->enabled = true;
        if (!$this->booted) {
            $this->boot();
        }
    }

Usage Example

Ejemplo n.º 1
0
 /**
  * Enable the Debugbar and boot, if not already booted.
  *
  * @static 
  */
 public static function enable()
 {
     return \Barryvdh\Debugbar\LaravelDebugbar::enable();
 }