mirror of
https://github.com/macintoshplus/mongo-php-driver.git
synced 2026-03-26 01:42:10 +01:00
These interfaces are implemented by the corresponding BSON classes and intended to be used by TypeWrapper implementations.
15 lines
294 B
PHP
15 lines
294 B
PHP
--TEST--
|
|
MongoDB\BSON\BinaryInterface is implemented by MongoDB\BSON\Binary
|
|
--FILE--
|
|
<?php
|
|
|
|
$binary = new MongoDB\BSON\Binary('foo', MongoDB\BSON\Binary::TYPE_GENERIC);
|
|
var_dump($binary instanceof MongoDB\BSON\BinaryInterface);
|
|
|
|
?>
|
|
===DONE===
|
|
<?php exit(0); ?>
|
|
--EXPECT--
|
|
bool(true)
|
|
===DONE===
|