ProxyGeneratorInterface
in
Base interface for proxy generators - describes how a proxy generator should use reflection classes to modify given class generators
Table of Contents
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
Due to BC compliance, we cannot add a native : void
return type declaration here
phpcs:disable SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingNativeTypeHint
Parameters
- $originalClass : ReflectionClass
- $classGenerator : ClassGenerator