You are here

private function PhpDumper::getProxyDumper in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/dependency-injection/Dumper/PhpDumper.php \Symfony\Component\DependencyInjection\Dumper\PhpDumper::getProxyDumper()

Retrieves the currently set proxy dumper or instantiates one.

Return value

ProxyDumper

1 call to PhpDumper::getProxyDumper()
PhpDumper::addProxyClasses in vendor/symfony/dependency-injection/Dumper/PhpDumper.php
Generates code for the proxies to be attached after the container class.

File

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

Class

PhpDumper
PhpDumper dumps a service container as a PHP class.

Namespace

Symfony\Component\DependencyInjection\Dumper

Code

private function getProxyDumper() {
  if (!$this->proxyDumper) {
    $this->proxyDumper = new NullDumper();
  }
  return $this->proxyDumper;
}