Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
core\hook\access\after_role_assigned Class Reference

Public Member Functions

 __construct (public context readonly context $context, public int readonly int $userid,)
 Constructor for the hook.
 

Constructor & Destructor Documentation

◆ __construct()

core\hook\access\after_role_assigned::__construct ( public context readonly context $context,
public int readonly int $userid )

Constructor for the hook.

Parameters
context$contextThe context of the role assignment.
int$useridThe user id of the user.
Parameters
$contextThe context of the role assignment
$useridThe user id of the user

The documentation for this class was generated from the following file: