LMongo\Query\Cursor::__construct PHP Méthode

__construct() public méthode

Constructor, sets the cursor
public __construct ( MongoCursor $cursor )
$cursor MongoCursor
    public function __construct($cursor)
    {
        $this->cursor = $cursor;
    }