You are here

public function DumperInterface::getProxyCode in Service Container 7

Same name and namespace in other branches
  1. 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/LazyProxy/PhpDumper/DumperInterface.php \Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\DumperInterface::getProxyCode()

Generates the code for the lazy proxy.

Parameters

Definition $definition:

Return value

string

2 methods override DumperInterface::getProxyCode()
NullDumper::getProxyCode in modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/LazyProxy/PhpDumper/NullDumper.php
Generates the code for the lazy proxy.
ProxyDumper::getProxyCode in lib/Drupal/Component/ProxyBuilder/ProxyDumper.php
Generates the code for the lazy proxy.

File

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/LazyProxy/PhpDumper/DumperInterface.php, line 49

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 getProxyCode(Definition $definition);