LazyLoadingValueHolderFactory
extends AbstractBaseFactory
in package
Factory responsible of producing virtual proxy instances
Table of Contents
Properties
- $configuration : mixed
- $checkedClasses : array<string, string>
- Cached checked class names
- $generator : mixed
Methods
- __construct() : mixed
- createProxy() : VirtualProxyInterface
- generateProxy() : string
- Generate a proxy from a class name
- getGenerator() : ProxyGeneratorInterface
- generateProxyClass() : void
- Generates the provided `$proxyClassName` from the given `$className` and `$proxyParameters`
Properties
$configuration
protected
mixed
$configuration
$checkedClasses
Cached checked class names
private
array<string, string>
$checkedClasses
= []
Tags
$generator
private
mixed
$generator
Methods
__construct()
public
__construct([Configuration|null $configuration = null ]) : mixed
Parameters
- $configuration : Configuration|null = null
createProxy()
public
createProxy(string $className, Closure $initializer[, array<string, mixed> $proxyOptions = [] ]) : VirtualProxyInterface
Parameters
- $className : string
- $initializer : Closure
- $proxyOptions : array<string, mixed> = []
Tags
Return values
VirtualProxyInterfacegenerateProxy()
Generate a proxy from a class name
protected
generateProxy(string $className[, array<string, mixed> $proxyOptions = [] ]) : string
Parameters
- $className : string
- $proxyOptions : array<string, mixed> = []
Tags
Return values
stringgetGenerator()
protected
getGenerator() : ProxyGeneratorInterface
Return values
ProxyGeneratorInterfacegenerateProxyClass()
Generates the provided `$proxyClassName` from the given `$className` and `$proxyParameters`
private
generateProxyClass(string $proxyClassName, string $className, array<string, mixed> $proxyParameters[, array<string, mixed> $proxyOptions = [] ]) : void
Parameters
- $proxyClassName : string
- $className : string
- $proxyParameters : array<string, mixed>
- $proxyOptions : array<string, mixed> = []