You are here

public function DumperInterface::getProxyFactoryCode in Service Container 7.2

Same name and namespace in other branches
  1. 7 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/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

2 methods override DumperInterface::getProxyFactoryCode()
NullDumper::getProxyFactoryCode in modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/LazyProxy/PhpDumper/NullDumper.php
Generates the code to be used to instantiate a proxy in the dumped factory code.
ProxyDumper::getProxyFactoryCode in lib/Drupal/Component/ProxyBuilder/ProxyDumper.php
Generates the code to be used to instantiate a proxy in the dumped factory code.

File

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/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);