interface Factory

Methods

guard(UnitEnum|string|null $name = null)

Get a guard instance by name.

string
getDefaultDriver()

Get the default authentication driver name.

void
shouldUse(UnitEnum|string|null $name)

Set the default guard the factory should serve.

Details

at line 14
Guard|StatefulGuard guard(UnitEnum|string|null $name = null)

Get a guard instance by name.

Parameters

UnitEnum|string|null $name

Return Value

Guard|StatefulGuard

at line 19
string getDefaultDriver()

Get the default authentication driver name.

Return Value

string

at line 24
void shouldUse(UnitEnum|string|null $name)

Set the default guard the factory should serve.

Parameters

UnitEnum|string|null $name

Return Value

void