public function setBarPanel(PanelInterface $panel = null, $id = null)
    {
        $panel and Tracy::getBar()->addPanel($this->barPanels[$id] = $panel, $id);
        return $this;
    }
public function setBarPanel(PanelInterface $panel = null, $id = null)
    {
        $panel and Tracy::getBar()->addPanel($this->barPanels[$id] = $panel, $id);
        return $this;
    }
public function setBarPanel ( PanelInterface $ panel = null , $ id = null ) { $ panel and Tracy :: getBar ( ) -> addPanel ( $ this -> barPanels [ $ id ] = $ panel , $ id ) ; return $ this ; }
Set debugger bar panel

@param object|PanelInterface|null $panel Panel object
@param string $id Panel id
@return $this
Set debugger bar panel