Error::getLastCaller
public static function Error::getLastCaller
public static Error::getLastCaller(array &$backtrace)
Gets the last caller from a backtrace.
Parameters
array $backtrace: A standard PHP backtrace. Passed by reference.
Return value
array An associative array with keys 'file', 'line' and 'function'.
File
- core/lib/Drupal/Core/Utility/Error.php, line 112
Class
- Error
- Drupal error utility class.