class Illuminate / Auth / Access / Events / GateEvaluated
You are viewing an older version of the documentation. For the latest, please visit master documentation.

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