Definition at line 15 of file DeprecationService.php.
Elgg\DeprecationService::__construct |
( |
Logger |
$logger | ) |
|
Elgg\DeprecationService::sendNotice |
( |
|
$msg, |
|
|
|
$dep_version, |
|
|
|
$backtrace_level = 1 |
|
) |
| |
Sends a notice about deprecated use of a function, view, etc.
- Parameters
-
string | $msg | Message to log |
string | $dep_version | Human-readable release version: 1.7, 1.8, ... |
int | $backtrace_level | How many levels back to display the backtrace. Useful if calling from functions that are called from other places (like elgg_view()). Set to -1 for a full backtrace. |
- Returns
- bool
Definition at line 42 of file DeprecationService.php.
Elgg\DeprecationService::$logger |
|
protected |
The documentation for this class was generated from the following file: