interface Factory (View source)

Methods

guard(string|null $name = null)

Get a guard instance by name.

void
shouldUse(string $name)

Set the default guard the factory should serve.

Details

Guard|StatefulGuard guard(string|null $name = null)

Get a guard instance by name.

Parameters

string|null $name

Return Value

Guard|StatefulGuard

void shouldUse(string $name)

Set the default guard the factory should serve.

Parameters

string $name

Return Value

void