NullObjectGenerator
in package
implements
ProxyGeneratorInterface
Generator for proxies implementing {@see \ProxyManager\Proxy\NullObjectInterface}
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
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