Property | Type | Description | |
---|---|---|---|
$bin | |||
$type |
Method | Description | |
---|---|---|
__construct ( string $data, integer $type = 2 ) | Creates a new binary data object. | |
__toString ( ) : string |
Returns the string " |
|
toBSONType ( ) : MongoDB\BSON\Binary | Converts this MongoBinData to the new BSON Binary type |
public __construct ( string $data, integer $type = 2 ) | ||
$data | string | Binary data |
$type | integer | Data type |
public __toString ( ) : string | ||
return | string |
public toBSONType ( ) : MongoDB\BSON\Binary | ||
return | MongoDB\BSON\Binary |