예제 #1
0
 public function testToPHP()
 {
     $type = new BinDataType();
     $this->assertSame('123', $type->toPHP(new \MongoDB\BSON\Binary('123', \MongoDB\BSON\Binary::TYPE_GENERIC)));
 }
예제 #2
0
 public function testToPHP()
 {
     $type = new BinDataType();
     $this->assertSame('123', $type->toPHP(new \MongoBinData('123')));
 }