Documentation

LazyObjectInterface

Table of Contents

Methods

initializeLazyObject()  : object
Forces initialization of a lazy object and returns it.
isLazyObjectInitialized()  : bool
Returns whether the object is initialized.
resetLazyObject()  : bool

Methods

initializeLazyObject()

Forces initialization of a lazy object and returns it.

public initializeLazyObject() : object
Return values
object

isLazyObjectInitialized()

Returns whether the object is initialized.

public isLazyObjectInitialized([bool $partial = false ]) : bool
Parameters
$partial : bool = false

Whether partially initialized objects should be considered as initialized

Return values
bool

resetLazyObject()

public resetLazyObject() : bool
Return values
bool

Returns false when the object cannot be reset, ie when it's not a lazy object


        
On this page

Search results