isEnabled() 공개 메소드

Check if the Debugbar is enabled
public isEnabled ( ) : boolean
리턴 boolean
예제 #1
0
 /**
  * Check if the Debugbar is enabled
  *
  * @return boolean 
  * @static 
  */
 public static function isEnabled()
 {
     return \Barryvdh\Debugbar\LaravelDebugbar::isEnabled();
 }
예제 #2
0
 /**
  * @param LaravelDebugbar $debugBar
  */
 public function setDebugBar(LaravelDebugbar $debugBar)
 {
     $this->debugBar = $debugBar->isEnabled() ? $debugBar : false;
 }