class Auth implements ContextualAttribute

Methods

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

Create a new class instance.

static Guard
resolve(Auth $attribute, Container $container)

Resolve the authentication guard.

Details

at line 20
__construct(UnitEnum|string|null $guard = null)

Create a new class instance.

Parameters

UnitEnum|string|null $guard

at line 29
static Guard resolve(Auth $attribute, Container $container)

Resolve the authentication guard.

Parameters

Auth $attribute
Container $container

Return Value

Guard