/** * Limits the number of documents passed to the next stage in the pipeline. * * @see http://docs.mongodb.org/manual/reference/operator/aggregation/limit/ * * @param integer $limit * @return Stage\Limit */ public function limit($limit) { return $this->builder->limit($limit); }