public function dashboard() : DashboardWidgetDefiner
    {
        return new DashboardWidgetDefiner(function (array $widgetNames) {
            $this->dashboardWidgetNames = array_merge($this->dashboardWidgetNames, $widgetNames);
        });
    }
public function dashboard() : DashboardWidgetDefiner
    {
        return new DashboardWidgetDefiner(function (array $widgetNames) {
            $this->dashboardWidgetNames = array_merge($this->dashboardWidgetNames, $widgetNames);
        });
    }
public function dashboard ( ) : DashboardWidgetDefiner { return new DashboardWidgetDefiner ( function ( array $ widgetNames ) { $ this -> dashboardWidgetNames = array_merge ( $ this -> dashboardWidgetNames , $ widgetNames ) ; } ) ; }
Defines the widgets contained within the package dashboard.

Example:
<code>
$package->dashboard()
->widgets([
'some-module-name.some-widget-name'
]);
</code>

@return DashboardWidgetDefiner
Defines the widgets contained within the package dashboard .