MongoBinData::__toString

The string representation of this binary data object.

Note:

This extension that defines this method is deprecated. Instead, the MongoDB extension should be used. Alternatives to this method include:

  • MongoDB\BSON\Binary::getData

Description

public string MongoBinData::__toString ( void )

Parameters

This function has no parameters.

Return Values

Returns the string "<Mongo Binary Data>". To access the contents of a MongoBinData, use the bin field.