Converts this to the new BSON MinKey type
public toBSONType ( ) : MongoDB\BSON\MinKey | ||
리턴 | MongoDB\BSON\MinKey |
public function testConvert() { $minKey = new \MongoMinKey(); $this->skipTestUnless($minKey instanceof TypeInterface); $this->assertInstanceOf('MongoDB\\BSON\\MinKey', $minKey->toBSONType()); }
public function testConvert() { $minKey = new \MongoMinKey(); $this->assertInstanceOf('MongoDB\\BSON\\MinKey', $minKey->toBSONType()); }