interface Factory (View source)

Methods

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

Get a guard instance by name.

void
shouldUse(UnitEnum|string|null $name)

Set the default guard the factory should serve.

Details

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

Get a guard instance by name.

Parameters

UnitEnum|string|null $name

Return Value

Guard|StatefulGuard

void shouldUse(UnitEnum|string|null $name)

Set the default guard the factory should serve.

Parameters

UnitEnum|string|null $name

Return Value

void