public function __construct(UserRoleAssignment $roleAssignment, $id) { $this->roleAssignment = $roleAssignment; $this->id = $id; }