Php/docs/class.mongodb-bson-binaryinterface
From Get docs
(mongodb >=1.3.0)
Introduction
This interface is implemented by MongoDB\BSON\Binary but may also be used for type-hinting and userland classes.
Class synopsis
MongoDB\BSON\BinaryInterface {
abstract public getData ( ) : string
abstract public getType ( ) : int
abstract public __toString ( ) : string
}
Table of Contents
- MongoDB\BSON\BinaryInterface::getData — Returns the BinaryInterface's data
- MongoDB\BSON\BinaryInterface::getType — Returns the BinaryInterface's type
- MongoDB\BSON\BinaryInterface::__toString — Returns the BinaryInterface's data
/* Methods */