function KernelTestBase::vfsDump

Same name and namespace in other branches
  1. 9 core/tests/Drupal/KernelTests/KernelTestBase.php \Drupal\KernelTests\KernelTestBase::vfsDump()
  2. 8.9.x core/tests/Drupal/KernelTests/KernelTestBase.php \Drupal\KernelTests\KernelTestBase::vfsDump()
  3. 10 core/tests/Drupal/KernelTests/KernelTestBase.php \Drupal\KernelTests\KernelTestBase::vfsDump()

Dumps the current state of the virtual filesystem to STDOUT.

File

core/tests/Drupal/KernelTests/KernelTestBase.php, line 972

Class

KernelTestBase
Base class for functional integration tests.

Namespace

Drupal\KernelTests

Code

protected function vfsDump() {
    vfsStream::inspect(new vfsStreamPrintVisitor());
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.