ProfileSettingRule
in package
implements
Rule
Class ProfileSettingRule.
Tags
Table of Contents
Interfaces
- Rule
Properties
- $allows : array<string, mixed>
Methods
- __construct() : mixed
- message() : string
- passes() : bool
Properties
$allows
private
array<string, mixed>
$allows
Methods
__construct()
public
__construct(int $userId) : mixed
Parameters
- $userId : int
message()
public
message() : string
Return values
stringpasses()
public
passes(mixed $attribute, mixed $value) : bool
Parameters
- $attribute : mixed
- $value : mixed