public function VarDumperDebug::getDebugInformation in VarDumper 8
Same name and namespace in other branches
- 7 src/VarDumper/VarDumperDebug.php \Drupal\vardumper\VarDumper\VarDumperDebug::getDebugInformation()
4 calls to VarDumperDebug::getDebugInformation()
- VarDumperBlock::dump in modules/
vardumper_block/ src/ VarDumper/ VarDumperBlock.php - .
- VarDumperConsole::dump in modules/
vardumper_console/ src/ VarDumper/ VarDumperConsole.php - .
- VarDumperMessage::dump in src/
VarDumper/ VarDumperMessage.php - .
- VarDumperWatchdog::dump in modules/
vardumper_watchdog/ src/ VarDumper/ VarDumperWatchdog.php
File
- src/
VarDumper/ VarDumperDebug.php, line 22
Class
Namespace
Drupal\vardumper\VarDumperCode
public function getDebugInformation() {
$_ = array_reverse(debug_backtrace());
while ($d = array_pop($_)) {
if (mb_strpos($d['file'], 'src/VarDumper') === FALSE && mb_strpos($d['file'], 'vardumper') === FALSE) {
break;
}
}
return $d;
}