AssignRoleRule
in package
implements
Rule
Class ItemPrivacySettingRule.
Table of Contents
Interfaces
- Rule
Properties
Methods
- __construct() : mixed
- message() : string
- passes() : bool
Properties
$context
protected
User
$context
Methods
__construct()
public
__construct(User $context) : mixed
Parameters
- $context : User
message()
public
message() : string
Return values
stringpasses()
public
passes(mixed $attribute, mixed $targetRole) : bool
Parameters
- $attribute : mixed
- $targetRole : mixed