Documentation

Authorizable

Table of Contents

can()  : bool
Determine if the entity has a given ability.

Methods

can()

Determine if the entity has a given ability.

public can(string $ability[, array<string|int, mixed>|mixed $arguments = [] ]) : bool
Parameters
$ability : string
$arguments : array<string|int, mixed>|mixed = []
Return values
bool

Search results