Authenticated
class Authenticated implements ExecutionScopedAttribute
Traits
Methods
mixed
extractPropertyValue(mixed $value, string|null $property)
Extract a property path from a contextual value.
__construct(UnitEnum|string|null $guard = null, string|null $property = null)
Create a new class instance.
bool
isExecutionScoped()
Determine whether the resolved value belongs to the current execution.
static mixed
Details
in
ExtractsPropertyValue at line 16
protected mixed
extractPropertyValue(mixed $value, string|null $property)
Extract a property path from a contextual value.
at line 24
__construct(UnitEnum|string|null $guard = null, string|null $property = null)
Create a new class instance.
Property paths use data_get() and may invoke object accessors or lazy-load Eloquent relationships.
at line 33
bool
isExecutionScoped()
Determine whether the resolved value belongs to the current execution.
at line 41
static mixed
resolve(Authenticated $attribute, Container $container)
Resolve the currently authenticated user.