Метод | Описание | |
---|---|---|
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. |
Метод | Описание | |
---|---|---|
__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 ) : |
||
Результат | proxied collection object. |