You are here

public function VarDumper::getDebugInformation in VarDumper 8

Get information for the getHeaders method.

1 call to VarDumper::getDebugInformation()
VarDumper::export in src/Plugin/Devel/Dumper/VarDumper.php

File

src/Plugin/Devel/Dumper/VarDumper.php, line 80

Class

VarDumper
Provides a Symfony VarDumper dumper plugin.

Namespace

Drupal\vardumper\Plugin\Devel\Dumper

Code

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;
}