src/Dashboard/SharpDashboard.php
protected function addWidget(SharpWidget $widget)
    {
        $this->widgets[] = $widget;
        $this->dashboardBuilt = false;

        return $this;
    }
protected function addWidget(SharpWidget $widget)
    {
        $this->widgets[] = $widget;
        $this->dashboardBuilt = false;

        return $this;
    }
protected function addWidget ( SharpWidget $ widget ) { $ this -> widgets [ ] = $ widget ; $ this -> dashboardBuilt = false ; return $ this ; }
Add a widget.

@param SharpWidget $widget
@return $this
Add a widget .