Lazy proxy dumper capable of generating the instantiation logic PHP code for proxied services.

AbstractInterface
Methods
public abstract getProxyCode(Symfony\Component\DependencyInjection\Definition $definition, ?string $id = NULL) : string
 

Generates the code for the lazy proxy.

public abstract getProxyFactoryCode(Symfony\Component\DependencyInjection\Definition $definition, string $id, string $factoryCode) : string
 

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

public abstract isProxyCandidate(Symfony\Component\DependencyInjection\Definition $definition, ?bool $asGhostObject = NULL, ?string $id = NULL) : bool
 

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

  • param bool|null $asGhostObject Set to true after the call if the proxy is a ghost object
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration