koubas/mongofill — pull request #9 by tstobbe (2014-02-28 21:11:51+00:00)
Title: Added support for limit, sort, skip, and findOne

Basic support for the following:
`$collection->findOne([ 'something'=>'that-is' ]);`
...returns null or document.

`$cursor = $collection->find()->sort([ 'name'=>-1 ])->skip(50)->limit(5);`
...should work now.

Take note that `fetchDocuments()` is now lazy-called on first valid(), current(), etc.