public function dimmers()
    {
        $widgetClasses = config('voyager.dashboard.widgets');
        $dimmers = Widget::group('voyager::dimmers');

        foreach ($widgetClasses as $widgetClass) {
            $widget = app($widgetClass);

            if ($widget->shouldBeDisplayed()) {
                $dimmers->addWidget($widgetClass);
            }
        }

        return $dimmers;
    }
public function dimmers()
    {
        $widgetClasses = config('voyager.dashboard.widgets');
        $dimmers = Widget::group('voyager::dimmers');

        foreach ($widgetClasses as $widgetClass) {
            $widget = app($widgetClass);

            if ($widget->shouldBeDisplayed()) {
                $dimmers->addWidget($widgetClass);
            }
        }

        return $dimmers;
    }
public function dimmers ( ) { $ widgetClasses = config ( 'voyager.dashboard.widgets' ) ; $ dimmers = Widget :: group ( 'voyager::dimmers' ) ; foreach ( $ widgetClasses as $ widgetClass ) { $ widget = app ( $ widgetClass ) ; if ( $ widget -> shouldBeDisplayed ( ) ) { $ dimmers -> addWidget ( $ widgetClass ) ; } } return $ dimmers ; }
Get a collection of the dashboard widgets.

@return \Arrilot\Widgets\WidgetGroup
Get a collection of the dashboard widgets .