You are here

public function FirePhp::export in Devel 8

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

Returns a string representation of a variable.

Parameters

mixed $input: The variable to export.

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

Return value

string String representation of a variable.

Overrides DevelDumperInterface::export

File

src/Plugin/Devel/Dumper/FirePhp.php, line 29

Class

FirePhp
Provides a FirePhp dumper plugin.

Namespace

Drupal\devel\Plugin\Devel\Dumper

Code

public function export($input, $name = NULL) {
  $this
    ->dump($input);
  return $this
    ->t('Dump was redirected to the console.');
}