lithium\data\Collection::_populate PHP Method

_populate() abstract protected method

A method to be implemented by concrete Collection classes which, provided a reference to a backend data source, and a resource representing a query result cursor, fetches new result data and wraps it in the appropriate object type, which is added into the Collection and returned.
abstract protected _populate ( ) : mixed
return mixed Returns the next `Record`, `Document` object or other `Entity` object if exists. Returns `null` otherwise.
    protected abstract function _populate();