LazyObjectInterface
in
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
objectisLazyObjectInitialized()
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
boolresetLazyObject()
public
resetLazyObject() : bool
Return values
bool —Returns false when the object cannot be reset, ie when it's not a lazy object