Mongolid\Cursor\CursorInterface::limit PHP Method

limit() public method

Limits the number of results returned.
public limit ( integer $amount ) : Mongolid\Cursor\CursorInterface
$amount integer The number of results to return.
return Mongolid\Cursor\CursorInterface Returns this cursor.
    public function limit(int $amount);