interface LazyObjectInterface

Methods

bool
isLazyObjectInitialized(bool$partial =false)

Returns whether the object is initialized.

object
initializeLazyObject()

Forces initialization of a lazy object and returns it.

bool
resetLazyObject()

No description

Details

bool isLazyObjectInitialized(bool$partial =false)

Returns whether the object is initialized.

Parameters

bool $partial Whether partially initialized objects should be considered as initialized

Return Value

bool

object initializeLazyObject()

Forces initialization of a lazy object and returns it.

Return Value

object

bool resetLazyObject()

Return Value

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