Fire/Bug.php
public function addPanel(Panel $panel)
    {
        $id = $panel->getId();
        if (!empty($this->_panels[$id])) {
            throw new BugException('[FireBug] No panels exist with ID "' . $id . '".');
        }
        $this->_panels[$id] = $panel;
    }
public function addPanel(Panel $panel)
    {
        $id = $panel->getId();
        if (!empty($this->_panels[$id])) {
            throw new BugException('[FireBug] No panels exist with ID "' . $id . '".');
        }
        $this->_panels[$id] = $panel;
    }
public function addPanel ( Panel $ panel ) { $ id = $ panel -> getId ( ) ; if ( ! empty ( $ this -> _panels [ $ id ] ) ) { throw new BugException ( '[FireBug] No panels exist with ID "' . $ id . '".' ) ; } $ this -> _panels [ $ id ] = $ panel ; }
Adds a Fire\Bug\Panel object to the the array of panels.
@param \Fire\Bug\Panel $panel The panel you are adding to FireBug
@return void
Adds a Fire \ Bug \ Panel object to the the array of panels .