Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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: