interface BinaryInterface (View source)

This interface is implemented by MongoDB\BSON\Binary but may also be used for type-hinting and userland classes.

Methods

string
getData()

No description

int
getType()

No description

string
__toString()

This method is an alias of: MongoDB\BSON\BinaryInterface::getData().

Details

string getData()

No description

Return Value

string

Returns the BinaryInterface's data

int getType()

No description

Return Value

int

Returns the BinaryInterface's type.

string __toString()

This method is an alias of: MongoDB\BSON\BinaryInterface::getData().

Return Value

string

Returns the BinaryInterface's data.