lithium\data\Collection::each()
Overrides
lithium\util\Collection::each()
Applies a callback to all data in the collection.
Overridden to load any data that has not yet been loaded.
Parameters
-
callback
$filter
The filter to apply.
Returns
objectThis collection instance.
Source
public function each($filter) {
$this->offsetGet(null);
return parent::each($filter);
}