function DevelDumperBase::dump

Same name in other branches
  1. 4.x src/DevelDumperBase.php \Drupal\devel\DevelDumperBase::dump()

Overrides DevelDumperInterface::dump

2 methods override DevelDumperBase::dump()
AvailableTestDumper::dump in tests/modules/devel_dumper_test/src/Plugin/Devel/Dumper/AvailableTestDumper.php
Dumps information about a variable.
NotAvailableTestDumper::dump in tests/modules/devel_dumper_test/src/Plugin/Devel/Dumper/NotAvailableTestDumper.php
Dumps information about a variable.

File

src/DevelDumperBase.php, line 23

Class

DevelDumperBase
Defines a base devel dumper implementation.

Namespace

Drupal\devel

Code

public function dump($input, $name = NULL) : void {
    echo (string) $this->export($input, $name);
}