You are here

public function Debug::__construct in Devel 8

Same name and namespace in other branches
  1. 8.3 src/Twig/Extension/Debug.php \Drupal\devel\Twig\Extension\Debug::__construct()
  2. 8.2 src/Twig/Extension/Debug.php \Drupal\devel\Twig\Extension\Debug::__construct()
  3. 4.x src/Twig/Extension/Debug.php \Drupal\devel\Twig\Extension\Debug::__construct()

Constructs a Debug object.

Parameters

\Drupal\devel\DevelDumperManagerInterface $dumper: The devel dumper service.

File

src/Twig/Extension/Debug.php, line 30

Class

Debug
Provides the Devel debugging function within Twig templates.

Namespace

Drupal\devel\Twig\Extension

Code

public function __construct(DevelDumperManagerInterface $dumper) {
  $this->dumper = $dumper;
}