AbstractBaseFactory
in package
AbstractYes
Base factory common logic
Table of Contents
Properties
- $configuration : mixed
- $checkedClasses : array<string, string>
- Cached checked class names
Methods
- __construct() : mixed
- 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
Methods
__construct()
public
__construct([Configuration|null $configuration = null ]) : mixed
Parameters
- $configuration : Configuration|null = null
generateProxy()
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
abstract 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> = []