Helpers::deprecated()
Triggers a deprecation warning if debug mode is active and warning has not been surpressed via Helpers::$deprecations
Helpers::deprecated(string $message, ?string $key = null): bool
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $message * | string |
– | |
| $key | string|null |
null |
If given, the key will be checked against the static array |
Return type
bool