Class \Prado\Data\SqlMap\DataMapper\TLazyLoadList
TLazyLoadList executes mapped statements when the proxy collection is first accessed.
Class hierarchy
Author: Wei Zhuo <weizho[at]gmail[dot]com>Since: 3.1
public
|
hasMethod(string $method) : bool
Try to fetch the data when any of the proxy collection method is called.
|
public
|
intercept(string $method, array<string|int, mixed> $arguments) : mixed
Relay the method call to the underlying collection.
|
public
static
|
newInstance(TMappedStatement $mappedStatement, mixed $param, object $target, string $propertyName) : TObjectProxy
Create a new instance of a lazy collection.
|
protected
|
__construct(TMappedStatement $mappedStatement, mixed $param, object $target, string $propertyName) : mixed
Create a new proxy list that will execute the mapped statement when any
of the list's method are accessed for the first time.
|
protected
|
|