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

Breadcrumb

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

function DumperInterface::getProxyCode

Generates the code for the lazy proxy.

2 methods override DumperInterface::getProxyCode()
LazyServiceDumper::getProxyCode in vendor/symfony/dependency-injection/LazyProxy/PhpDumper/LazyServiceDumper.php
Generates the code for the lazy proxy.
NullDumper::getProxyCode in vendor/symfony/dependency-injection/LazyProxy/PhpDumper/NullDumper.php
Generates the code for the lazy proxy.

File

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

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