mediatekformation

LazyLoadingValueHolderGenerator
in package
implements ProxyGeneratorInterface

Generator for proxies implementing {@see \ProxyManager\Proxy\VirtualProxyInterface}

Interfaces, Classes, Traits and Enums

ProxyGeneratorInterface
Base interface for proxy generators - describes how a proxy generator should use reflection classes to modify given class generators

Table of Contents

generate()  : void
Apply modifications to the provided $classGenerator to proxy logic from $originalClass
buildLazyLoadingMethodInterceptor()  : callable

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
Tags
throws
InvalidProxiedClassException
throws
InvalidArgumentException
psalm-param

array{skipDestructor?: bool, fluentSafe?: bool} $proxyOptions

Return values
void

Search results