|
Moodle PHP Documentation 4.5
Moodle 4.5.5+ (Build: 20250711) (ce34e8ff087)
|
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. | |
| 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.
| string | $owner | The code which owns the usage |
| null | string | $replacement | Any replacement for the deprecated thing |
| null | string | $since | When it was deprecated |
| null | string | $reason | Why it was deprecated |
| null | string | $mdl | Link to the Moodle Tracker issue for more information |
| bool | $final | Whether this is a final deprecation |
| bool | $emit | Whether to emit a deprecation warning |