src/InterfaceBuilder/Dashboard/DashboardServiceProvider.php
/**
     * Register bindings in the container.
     *
     * @return void
     */
Register bindings in the container.
@return void
Register bindings in the container . @return void
public function register()
    {
        $this->app->singleton('soda.dashboard', function ($app) {
            $dashboardBuilder = new DashboardBuilder;
            $dashboardBuilder->addBlockToRow(1, 'default', function () {
                return soda_cms_view('partials.dashboard.default-block');
            });
            $dashboardBuilder->addBlockToRow(1, 'quicklinks', function () {
                return soda_cms_view('partials.dashboard.quicklinks');
            });
            return $dashboardBuilder;
        });
    }
public function register ( ) { $ this -> app -> singleton ( 'soda.dashboard' , function ( $ app ) { $ dashboardBuilder = new DashboardBuilder ; $ dashboardBuilder -> addBlockToRow ( 1 , 'default' , function ( ) { return soda_cms_view ( 'partials.dashboard.default-block' ) ; } ) ; $ dashboardBuilder -> addBlockToRow ( 1 , 'quicklinks' , function ( ) { return soda_cms_view ( 'partials.dashboard.quicklinks' ) ; } ) ; return $ dashboardBuilder ; } ) ; }
Register bindings in the container.
Register bindings in the container .