src/InterfaceBuilder/Menu/MenuServiceProvider.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.menu.registrar', function ($app) {
            return new MenuRegistrar;
        });
        $this->app->singleton('soda.menu', function ($app) {
            return new MenuBuilder($app['soda.menu.registrar']);
        });
    }
public function register ( ) { $ this -> app -> singleton ( 'soda.menu.registrar' , function ( $ app ) { return new MenuRegistrar ; } ) ; $ this -> app -> singleton ( 'soda.menu' , function ( $ app ) { return new MenuBuilder ( $ app [ 'soda.menu.registrar' ] ) ; } ) ; }
Register bindings in the container.
Register bindings in the container .