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

Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.