protected function Log::getDebugBacktrace in Drupal 9
Gets the debug backtrace.
Wraps the debug_backtrace function to allow mocking results in PHPUnit tests.
Return value
array[] The debug backtrace.
1 call to Log::getDebugBacktrace()
- Log::findCaller in core/
lib/ Drupal/ Core/ Database/ Log.php - Determine the routine that called this query.
File
- core/
lib/ Drupal/ Core/ Database/ Log.php, line 210
Class
- Log
- Database query logger.
Namespace
Drupal\Core\DatabaseCode
protected function getDebugBacktrace() {
return debug_backtrace();
}