PHP Class MongolidLaravel\MongolidServiceProvider

Inheritance: extends Illuminate\Support\ServiceProvider
Datei anzeigen Open project: leroy-merlin-br/mongolid-laravel Class Usage Examples

Protected Properties

Property Type Description
$defer boolean Indicates if loading of the provider is deferred.

Public Methods

Method Description
boot ( ) : void Register the mongoLid driver in auth AuthManager.
extendsAuthManager ( ) : void Registers mongoLid Driver in AuthManager.
register ( ) : void Register the service provider.
registerConnector ( ) : void Register MongoDbConnector within the application.

Protected Methods

Method Description
buildConnectionString ( ) : string Builds the connection string based in the laravel's config/database.php config file.

Method Details

boot() public method

Register the mongoLid driver in auth AuthManager.
public boot ( ) : void
return void

buildConnectionString() protected method

Builds the connection string based in the laravel's config/database.php config file.
protected buildConnectionString ( ) : string
return string The connection string

extendsAuthManager() public method

Registers mongoLid Driver in AuthManager.
public extendsAuthManager ( ) : void
return void

register() public method

Register the service provider.
public register ( ) : void
return void

registerConnector() public method

Register MongoDbConnector within the application.
public registerConnector ( ) : void
return void

Property Details

$defer protected_oe property

Indicates if loading of the provider is deferred.
protected bool $defer
return boolean