Documentation

GhostObjectInterface extends LazyLoadingInterface

Ghost object marker

Tags
psalm-template

LazilyLoadedObjectType of object

Table of Contents

Methods

getProxyInitializer()  : Closure|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

Definitions are duplicated here to allow templated definitions in this child type

Tags
psalm-return

null|Closure( LazilyLoadedObjectType&GhostObjectInterface<LazilyLoadedObjectType>=, string, array<string, mixed>=, ?Closure=, array<string, mixed>= ) : bool

psalm-suppress

ImplementedReturnTypeMismatch Note that the closure signature below is slightly different from the one declared in LazyLoadingInterface.

Return values
Closure|null

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
bool

setProxyInitializer()

Set or unset the initializer for the proxy instance

public setProxyInitializer([Closure|null $initializer = null ]) : void

Definitions are duplicated here to allow templated definitions in this child type.

Parameters
$initializer : Closure|null = null
Tags
psalm-param

null|Closure( LazilyLoadedObjectType&GhostObjectInterface<LazilyLoadedObjectType>=, string=, array<string, mixed>=, ?Closure=, array<string, mixed>= ) : bool $initializer

psalm-suppress

ImplementedParamTypeMismatch Note that the closure signature below is slightly different from the one declared in LazyLoadingInterface.


        
On this page

Search results