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

Breadcrumb

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

function DumperInterface::isProxyCandidate

Inspects whether the given definitions should produce proxy instantiation logic in the dumped container.

Parameters

bool|null &$asGhostObject Set to true after the call if the proxy is a ghost object:

2 methods override DumperInterface::isProxyCandidate()
LazyServiceDumper::isProxyCandidate in vendor/symfony/dependency-injection/LazyProxy/PhpDumper/LazyServiceDumper.php
Inspects whether the given definitions should produce proxy instantiation logic in the dumped container.
NullDumper::isProxyCandidate in vendor/symfony/dependency-injection/LazyProxy/PhpDumper/NullDumper.php
Inspects whether the given definitions should produce proxy instantiation logic in the dumped container.

File

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

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 isProxyCandidate(Definition $definition, ?bool &$asGhostObject = null, ?string $id = null) : bool;
RSS feed
Powered by Drupal