src/Database/UserServiceProvider.php
/**
     * Perform post-registration booting of services.
     *
     * @return void
     */
Perform post-registration booting of services.
@return void
Perform post - registration booting of services . @return void
public function boot()
    {
        Relation::morphMap([
            'SodaUser' => User::class,
        ]);
        $this->app->config->set('laratrust.user_models.user', User::class);
        $this->app->config->set('laratrust.models.role', Role::class);
        $this->app->config->set('laratrust.models.permission', Permission::class);
    }
public function boot ( ) { Relation :: morphMap ( [ 'SodaUser' => User :: class , ] ) ; $ this -> app -> config -> set ( 'laratrust.user_models.user' , User :: class ) ; $ this -> app -> config -> set ( 'laratrust.models.role' , Role :: class ) ; $ this -> app -> config -> set ( 'laratrust.models.permission' , Permission :: class ) ; }
Perform post-registration booting of services.
Perform post - registration booting of services .