src/Database/BlockServiceProvider.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.block-type.repository', function ($app) {
            return new BlockTypeRepository(new BlockType);
        });
        $this->app->singleton('soda.block-type-field.repository', function ($app) {
            return new BlockTypeFieldRepository(new BlockType, new Field);
        });
        $this->registerAliases($this->aliases);
    }
public function register ( ) { $ this -> app -> singleton ( 'soda.block-type.repository' , function ( $ app ) { return new BlockTypeRepository ( new BlockType ) ; } ) ; $ this -> app -> singleton ( 'soda.block-type-field.repository' , function ( $ app ) { return new BlockTypeFieldRepository ( new BlockType , new Field ) ; } ) ; $ this -> registerAliases ( $ this -> aliases ) ; }
Register bindings in the container.
Register bindings in the container .