class Illuminate / Auth / Access / Events / GateEvaluated
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

GateEvaluated

Properties

public

$user Authenticatable |null

The authenticatable model.

Default: null
public

$ability string

The ability being evaluated.

Default: null
public

$result bool|null

The result of the evaluation.

Default: null
public

$arguments array

The arguments given during evaluation.

Default: null

Methods

public

__construct ( $user , $ability , $result , $arguments ) : void

Create a new event instance.

Parameters

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