class Illuminate / Auth / Passwords / PasswordBrokerManager
You are viewing an older version of the documentation. For the latest, please visit master documentation.

PasswordBrokerManager

Implements

Properties

protected

$app Application

The application instance.

Default: null
protected

$brokers array

The array of created "drivers".

Default: []

Methods

public

__construct ( $app ) : void

Create a new PasswordBroker manager instance.

Parameters

public

broker ( $name ) : PasswordBroker

Attempt to get the broker from the local cache.

Parameters

  • $name string|null
protected

resolve ( $name ) : PasswordBroker

Resolve the given broker.

Parameters

  • $name string
protected

createTokenRepository ( array $config ) : TokenRepositoryInterface

Create a token repository instance based on the given configuration.

Parameters

  • $config array
protected

getConfig ( $name ) : array

Get the password broker configuration.

Parameters

  • $name string
public

getDefaultDriver ( ) : string

Get the default password broker name.

public

setDefaultDriver ( $name ) : void

Set the default password broker name.

Parameters

  • $name string
public

__call ( $method , $parameters ) : mixed

Dynamically call the default driver instance.

Parameters

  • $method string
  • $parameters array