VirtualProxyInterface
extends
LazyLoadingInterface, ValueHolderInterface
in
Virtual Proxy - a lazy initializing object wrapping around the proxied subject
Table of Contents
Methods
- getProxyInitializer() : Closure|null
- getWrappedValueHolderValue() : object|null
- initializeProxy() : bool
- Force initialization of the proxy
- isProxyInitialized() : bool
- Retrieves current initialization status of the proxy
- setProxyInitializer() : void
- Set or unset the initializer for the proxy instance
Methods
getProxyInitializer()
public
getProxyInitializer() : Closure|null
Tags
Return values
Closure|nullgetWrappedValueHolderValue()
public
getWrappedValueHolderValue() : object|null
Tags
Return values
object|null —the wrapped value
initializeProxy()
Force initialization of the proxy
public
initializeProxy() : bool
Return values
bool —true if the proxy could be initialized
isProxyInitialized()
Retrieves current initialization status of the proxy
public
isProxyInitialized() : bool
Return values
boolsetProxyInitializer()
Set or unset the initializer for the proxy instance
public
setProxyInitializer([Closure|null $initializer = null ]) : void
Parameters
- $initializer : Closure|null = null