ElementPropertyElement extends LazyValueLoader
Class LazyValueLoader Strategy class used for delaying queries to DB.
Table of Contents
Methods
- __construct() : mixed
- __toString() : mixed
- Calls load method if value was not loaded yet.
- getValue() : mixed
- Calls load method if value was not loaded yet.
Methods
__construct()
public
__construct(string|int $key) : mixed
Parameters
- $key : string|int
-
Unique identifier.
__toString()
Calls load method if value was not loaded yet.
public
__toString() : mixed
getValue()
Calls load method if value was not loaded yet.
public
getValue() : mixed