(PECL mongo >= 1.5.0)

* @link http://php.net/manual/en/class.mongowriteconcernexception.php#class.mongowriteconcernexception */ class MongoWriteConcernException extends MongoCursorException { /** * Get the error document * @link http://php.net/manual/en/mongowriteconcernexception.getdocument.php * @return array

A MongoDB document, if available, as an array.

*/ public function getDocument() {} }