function DevelDumperManager::dump

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

Overrides DevelDumperManagerInterface::dump

File

src/DevelDumperManager.php, line 103

Class

DevelDumperManager
Manager class for DevelDumper.

Namespace

Drupal\devel

Code

public function dump($input, $name = NULL, $plugin_id = NULL) : void {
    if ($this->hasAccessToDevelInformation()) {
        $this->createInstance($plugin_id)
            ->dump($input, $name);
    }
}