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

Breadcrumb

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

function PhpDumper::setProxyDumper

Sets the dumper to be used when dumping proxies in the generated container.

File

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

Class

PhpDumper
PhpDumper dumps a service container as a PHP class.

Namespace

Symfony\Component\DependencyInjection\Dumper

Code

public function setProxyDumper(DumperInterface $proxyDumper) : void {
    $this->proxyDumper = $proxyDumper;
    $this->hasProxyDumper = !$proxyDumper instanceof NullDumper;
}
RSS feed
Powered by Drupal