CreatorRole Class Reference
Detailed Description
CreatorRole matches if the user created an entity.
Definition at line 24 of file CreatorRole.php.
Public Member Functions | |
match (User $user, $resource) | |
Public Attributes | |
const | CREATOR_ATTRIBUTE = 'creator' |
Member Function Documentation
◆ match()
match | ( | User | $user, |
$resource | |||
) |
- See also
- DynamicRole::match()
Definition at line 35 of file CreatorRole.php.
Member Data Documentation
◆ CREATOR_ATTRIBUTE
const CREATOR_ATTRIBUTE = 'creator' |
Definition at line 26 of file CreatorRole.php.