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

Breadcrumb

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

function DumperInterface::getProxyFactoryCode

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

2 methods override DumperInterface::getProxyFactoryCode()
LazyServiceDumper::getProxyFactoryCode in vendor/symfony/dependency-injection/LazyProxy/PhpDumper/LazyServiceDumper.php
Generates the code to be used to instantiate a proxy in the dumped factory code.
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 33

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, string $id, string $factoryCode) : string;
RSS feed
Powered by Drupal