Detailed Description

CreatorRole matches if the user created an entity.

Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

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.