function Debug::__construct

Same name in other branches
  1. 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 32

Class

Debug
Provides the Devel debugging function within Twig templates.

Namespace

Drupal\devel\Twig\Extension

Code

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