MongoDB\Driver\Server
PHP Manual

MongoDB\Driver\Server::getType

(mongodb >=0.2.0)

MongoDB\Driver\Server::getTypeDescription

Description

final public ReturnType MongoDB\Driver\Server::getType ( void )

Parameters

This function has no parameters.

Return Values

Errors/Exceptions

Examples

Example #1 MongoDB\Driver\Server::getType() example

<?php

/* ... */

?>

The above example will output something similar to:

...

See Also


MongoDB\Driver\Server
PHP Manual