UserRole.php Interfaces, Classes and Traits UserRole Validates that access was performed by user with the specified role.