LazyLoadingValueHolderGenerator
in package
implements
ProxyGeneratorInterface
Generator for proxies implementing {@see \ProxyManager\Proxy\VirtualProxyInterface}
Table of Contents
Interfaces
- ProxyGeneratorInterface
- Base interface for proxy generators - describes how a proxy generator should use reflection classes to modify given class generators
Methods
- generate() : void
- Apply modifications to the provided $classGenerator to proxy logic from $originalClass
- buildLazyLoadingMethodInterceptor() : callable
Methods
generate()
Apply modifications to the provided $classGenerator to proxy logic from $originalClass
public
generate(ReflectionClass $originalClass, ClassGenerator $classGenerator) : void
Parameters
- $originalClass : ReflectionClass
- $classGenerator : ClassGenerator
Tags
buildLazyLoadingMethodInterceptor()
private
buildLazyLoadingMethodInterceptor(InitializerProperty $initializer, ValueHolderProperty $valueHolder, bool $fluentSafe) : callable
Parameters
- $initializer : InitializerProperty
- $valueHolder : ValueHolderProperty
- $fluentSafe : bool