Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
core\attribute\deprecated_with_reference Class Reference
Inheritance diagram for core\attribute\deprecated_with_reference:
core\attribute\deprecated

Public Member Functions

 __construct (public readonly string $owner, ?string $replacement, ?string $since, ?string $reason, ?string $mdl, bool $final, bool $emit,)
 A deprecated item which also includes a reference to the owning feature.
 

Constructor & Destructor Documentation

◆ __construct()

core\attribute\deprecated_with_reference::__construct ( public readonly string $owner,
?string $replacement,
?string $since,
?string $reason,
?string $mdl,
bool $final,
bool $emit )

A deprecated item which also includes a reference to the owning feature.

This attribute is not expected to be used more generally. It is an internal feature.

Parameters
string$ownerThe code which owns the usage
null | string$replacementAny replacement for the deprecated thing
null | string$sinceWhen it was deprecated
null | string$reasonWhy it was deprecated
null | string$mdlLink to the Moodle Tracker issue for more information
bool$finalWhether this is a final deprecation
bool$emitWhether to emit a deprecation warning

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