You are here

public function DumperInterface::getProxyFactoryCode in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/dependency-injection/LazyProxy/PhpDumper/DumperInterface.php \Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\DumperInterface::getProxyFactoryCode()

Generates the code to be used to instantiate a proxy in the dumped factory code.

Parameters

Definition $definition:

string $id service identifier:

Return value

string

1 method overrides DumperInterface::getProxyFactoryCode()
NullDumper::getProxyFactoryCode in vendor/symfony/dependency-injection/LazyProxy/PhpDumper/NullDumper.php
Generates the code to be used to instantiate a proxy in the dumped factory code.

File

vendor/symfony/dependency-injection/LazyProxy/PhpDumper/DumperInterface.php, line 40

Class

DumperInterface
Lazy proxy dumper capable of generating the instantiation logic PHP code for proxied services.

Namespace

Symfony\Component\DependencyInjection\LazyProxy\PhpDumper

Code

public function getProxyFactoryCode(Definition $definition, $id);