CreatesUserProviders

trait CreatesUserProviders (View source)

Properties

protected array $customProviderCreators The registered custom provider creators.

Methods

UserProvider createUserProvider(string $provider)

Create the user provider implementation for the driver.

DatabaseUserProvider createDatabaseProvider(array $config)

Create an instance of the database user provider.

EloquentUserProvider createEloquentProvider(array $config)

Create an instance of the Eloquent user provider.

Details

UserProvider createUserProvider(string $provider)

Create the user provider implementation for the driver.

Parameters

string $provider

Return Value

UserProvider

Exceptions

InvalidArgumentException

protected DatabaseUserProvider createDatabaseProvider(array $config)

Create an instance of the database user provider.

Parameters

array $config

Return Value

DatabaseUserProvider

protected EloquentUserProvider createEloquentProvider(array $config)

Create an instance of the Eloquent user provider.

Parameters

array $config

Return Value

EloquentUserProvider

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.3/Illuminate/Auth/CreatesUserProviders.html