class GateEvaluated (View source)

Properties

Authenticatable|null $user

The authenticatable model.

string $ability

The ability being evaluated.

bool|null $result

The result of the evaluation.

array $arguments

The arguments given during evaluation.

Methods

void
__construct(Authenticatable|null $user, string $ability, bool|null $result, array $arguments)

Create a new event instance.

Details

void __construct(Authenticatable|null $user, string $ability, bool|null $result, array $arguments)

Create a new event instance.

Parameters

Authenticatable|null $user
string $ability
bool|null $result
array $arguments

Return Value

void