src/AuthServiceProvider.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()
    {
        $auth = $this->app['auth'];
        $auth->provider('mybb', function ($config) {
            return new MybbUserProvider(new HashFactory($this->app), $this->app['hash'], $config['model']);
        });
    }
public function boot ( ) { $ auth = $ this -> app [ 'auth' ] ; $ auth -> provider ( 'mybb' , function ( $ config ) { return new MybbUserProvider ( new HashFactory ( $ this -> app ) , $ this -> app [ 'hash' ] , $ config [ 'model' ] ) ; } ) ; }
Perform post-registration booting of services.
Perform post - registration booting of services .
/** @var \Illuminate\Auth\AuthManager $auth */