DynamicRole Interface Reference

Detailed Description

DynamicRole is the interface for user roles based on attributes.

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

Definition at line 20 of file DynamicRole.php.

Public Member Functions

 match (User $user, $resource)

Member Function Documentation

match ( User  $user,

Check if this role matches for a user and resource.

$userThe user instance.
$resourceThe resource string.
Boolean whether the role matches or not, null if the result is undefined