You are here

public function ChromePhp::dump in Devel 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/Devel/Dumper/ChromePhp.php \Drupal\devel\Plugin\Devel\Dumper\ChromePhp::dump()

Dumps information about a variable.

Parameters

mixed $input: The variable to dump.

string $name: (optional) The label to output before variable, defaults to NULL.

Overrides DevelDumperBase::dump

1 call to ChromePhp::dump()
ChromePhp::export in src/Plugin/Devel/Dumper/ChromePhp.php
Returns a string representation of a variable.

File

src/Plugin/Devel/Dumper/ChromePhp.php, line 21

Class

ChromePhp
Provides a ChromePhp dumper plugin.

Namespace

Drupal\devel\Plugin\Devel\Dumper

Code

public function dump($input, $name = NULL) {
  \ChromePhp::log($input);
}