Method | Description | |
---|---|---|
hasMethod ( $method ) : boolean | Try to fetch the data when any of the proxy collection method is called. | |
intercept ( $method, $arguments ) | Relay the method call to the underlying collection. | |
newInstance ( $mappedStatement, $param, $target, $propertyName ) : |
Create a new instance of a lazy collection. |
Method | Description | |
---|---|---|
__construct ( $mappedStatement, $param, $target, $propertyName ) | Create a new proxy list that will execute the mapped statement when any of the list's method are accessed for the first time. | |
fetchListData ( ) | Load the data by executing the mapped statement. |
protected __construct ( $mappedStatement, $param, $target, $propertyName ) |
protected fetchListData ( ) |
public intercept ( $method, $arguments ) |
public static newInstance ( $mappedStatement, $param, $target, $propertyName ) : |
||
return | proxied collection object. |