RemoteObjectFactory
extends AbstractBaseFactory
in package
Factory responsible of producing remote proxy objects
Table of Contents
Properties
- $adapter : mixed
- $configuration : mixed
- $checkedClasses : array<string, string>
- Cached checked class names
- $generator : mixed
Methods
- __construct() : mixed
- createProxy() : RemoteObjectInterface
- generateProxy() : string
- Generate a proxy from a class name
- getGenerator() : ProxyGeneratorInterface
- generateProxyClass() : void
- Generates the provided `$proxyClassName` from the given `$className` and `$proxyParameters`
Properties
$adapter
protected
mixed
$adapter
$configuration
protected
mixed
$configuration
$checkedClasses
Cached checked class names
private
array<string, string>
$checkedClasses
= []
Tags
$generator
private
mixed
$generator
Methods
__construct()
public
__construct(AdapterInterface $adapter[, Configuration $configuration = null ]) : mixed
Parameters
- $adapter : AdapterInterface
- $configuration : Configuration = null
createProxy()
public
createProxy(mixed $instanceOrClassName) : RemoteObjectInterface
Parameters
- $instanceOrClassName : mixed
Tags
Return values
RemoteObjectInterfacegenerateProxy()
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> = []