Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. PhpDumper.php

function PhpDumper::__construct

Overrides Dumper::__construct

File

vendor/symfony/dependency-injection/Dumper/PhpDumper.php, line 99

Class

PhpDumper
PhpDumper dumps a service container as a PHP class.

Namespace

Symfony\Component\DependencyInjection\Dumper

Code

public function __construct(ContainerBuilder $container) {
    if (!$container->isCompiled()) {
        throw new LogicException('Cannot dump an uncompiled container.');
    }
    parent::__construct($container);
}
RSS feed
Powered by Drupal