Creates a new instance of EmbeddedCursor.
public createEmbeddedCursor ( string $entityClass, array $items ) : Mongolid\Cursor\CursorInterface | ||
$entityClass | string | Class of the objects that will be retrieved by the cursor. |
$items | array | The items array. |
return | Mongolid\Cursor\CursorInterface |