MongolidLaravel\MongolidServiceProvider::boot PHP Method

boot() public method

Register the mongoLid driver in auth AuthManager.
public boot ( ) : void
return void
    public function boot()
    {
        $this->extendsAuthManager();
    }

Usage Example

 public function testShouldBoot()
 {
     // Set
     $provider = new MongolidServiceProvider($this->app);
     config(['auth.driver' => 'mongoLid']);
     // Actions
     $provider->boot();
     $result = $this->app['auth']->getProvider();
     // Actions
     $this->assertInstanceOf(MongolidUserProvider::class, $result);
 }