src/Database/UserServiceProvider.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->bind('soda.permission.repository', function ($app) {
            return new PermissionRepository(new Permission);
        });
        $this->app->bind('soda.role.repository', function ($app) {
            return new RoleRepository(new Role);
        });
        $this->app->bind('soda.user.repository', function ($app) {
            return new UserRepository(new User);
        });
        $this->registerAliases($this->aliases);
    }
public function register ( ) { $ this -> app -> bind ( 'soda.permission.repository' , function ( $ app ) { return new PermissionRepository ( new Permission ) ; } ) ; $ this -> app -> bind ( 'soda.role.repository' , function ( $ app ) { return new RoleRepository ( new Role ) ; } ) ; $ this -> app -> bind ( 'soda.user.repository' , function ( $ app ) { return new UserRepository ( new User ) ; } ) ; $ this -> registerAliases ( $ this -> aliases ) ; }
Register bindings in the container.
Register bindings in the container .