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

Abstract Interface
public abstract getProxyCode ( Symfony\Component\DependencyInjection\Definition $definition ) : 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

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

© 2022 Bruce Wells
Search Namespaces \ Classes