array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'pt_BR', ), 'this' => array ( 0 => 'class.mongodb-driver-cursorinterface.php', 1 => 'MongoDB\\Driver\\CursorInterface', ), 'up' => array ( 0 => 'book.mongodb.php', 1 => 'MongoDB\\Driver', ), 'prev' => array ( 0 => 'mongodb-driver-cursorid.unserialize.php', 1 => 'MongoDB\\Driver\\CursorId::unserialize', ), 'next' => array ( 0 => 'mongodb-driver-cursorinterface.getid.php', 1 => 'MongoDB\\Driver\\CursorInterface::getId', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/mongodb/mongodb/driver/cursorinterface.xml', ), 'extra_header_links' => array ( 'rel' => 'alternate', 'href' => '/manual/en/feeds/class.mongodb-driver-cursorinterface.atom', 'type' => 'application/atom+xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(mongodb >=1.6.0)
This interface is implemented by MongoDB\Driver\Cursor to be used as a parameter, return, or property type in userland classes.
Versão | Descrição |
---|---|
mongodb 1.15.0 no PECL |
Os tipos de retorno para métodos são declarados como provisórios no PHP 8.0 e mais recentes,
disparando avisos de descontinuação no código que implementa essa interface
sem declarar os tipos de retorno apropriados. O atributo #[ReturnTypeWillChange]
pode ser adicionado para silenciar o aviso de descontinuação.
|