Before starting iteration, several methods may be called to configure the query.

<?php
$m = new MongoClient();
$c = $m->demo->cities;

$cursor = $c->find( [ 'country_code' => 'RU' ] )
            ->sort( [ 'name' => 1 ] )
            ->limit( 5 )->skip( 25 );

foreach ( $cursor as $r ) {
    var_dump( $r['name'] );
}
?>
Output