You are here

public function DevelDumperInterface::export in Devel 8.3

Same name and namespace in other branches
  1. 8 src/DevelDumperInterface.php \Drupal\devel\DevelDumperInterface::export()
  2. 8.2 src/DevelDumperInterface.php \Drupal\devel\DevelDumperInterface::export()
  3. 4.x src/DevelDumperInterface.php \Drupal\devel\DevelDumperInterface::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.

1 call to DevelDumperInterface::export()
DevelDumperBase::exportAsRenderable in src/DevelDumperBase.php
Returns a string representation of a variable wrapped in a render array.
5 methods override DevelDumperInterface::export()
AvailableTestDumper::export in tests/modules/devel_dumper_test/src/Plugin/Devel/Dumper/AvailableTestDumper.php
Returns a string representation of a variable.
DoctrineDebug::export in src/Plugin/Devel/Dumper/DoctrineDebug.php
Returns a string representation of a variable.
Kint::export in src/Plugin/Devel/Dumper/Kint.php
Returns a string representation of a variable.
NotAvailableTestDumper::export in tests/modules/devel_dumper_test/src/Plugin/Devel/Dumper/NotAvailableTestDumper.php
Returns a string representation of a variable.
VarDumper::export in src/Plugin/Devel/Dumper/VarDumper.php
Returns a string representation of a variable.

File

src/DevelDumperInterface.php, line 36

Class

DevelDumperInterface
Base interface definition for DevelDumper plugins.

Namespace

Drupal\devel

Code

public function export($input, $name = NULL);