/**
  * Factory method.
  *
  * @since 1.0
  *
  * @param string $title
  * @return object
  */
 public static function newPanel($title = '')
 {
     if (!self::$stylesEnqueued) {
         self::$stylesEnqueued = true;
         wp_enqueue_style('debugger-panel', plugins_url('debugger-panel.css', __FILE__), null, '1.0');
     }
     return new self($title);
 }
 /**
  * @since 1.0
  *
  * @param array $panels
  * @return array
  */
 public function &loadDebugBarPanel($panels)
 {
     include_once 'debugger-panel.class.php';
     $this->debugBarPanel = DebuggerPanel::newPanel($this->panelTitle);
     array_unshift($panels, $this->debugBarPanel);
     return $panels;
 }