Skip to content
Permalink
Browse files

Update formatResults doc block

  • Loading branch information...
bcrowe committed Feb 21, 2014
1 parent 74074b7 commit 56d15e0ac2c8abfb778e197719e89d2715712310
Showing with 5 additions and 5 deletions.
  1. +5 −5 src/ORM/Query.php
@@ -711,12 +711,12 @@ public function mapReduce(callable $mapper = null, callable $reducer = null, $ov
}
/**
* Registers a new formatter callback function that is to be executed when the results
* are tried to be fetched from the database.
* Registers a new formatter callback function that is to be executed when trying
* to fetch the results from the database.
*
* Formatting callbacks will get as first parameter a `ResultSetDecorator` that
* can be traversed and modified at will. As the second parameter, the formatting
* callback will receive this query instance.
* Formatting callbacks will get a first parameter, a `ResultSetDecorator`, that
* can be traversed and modified at will. As for the second parameter, the
* formatting callback will receive this query instance.
*
* Callbacks are required to return an iterator object, which will be used as
* the return value for this query's result. Formatter functions are applied

0 comments on commit 56d15e0

Please sign in to comment.
You can’t perform that action at this time.