MongoDB\Driver\BSON
PHP Manual

The MongoDB\BSON\Persistable interface

(mongodb >=1.0.0)

Introduction

Class synopsis

MongoDB\BSON\Persistable implements MongoDB\BSON\Unserializable , MongoDB\BSON\Serializable {
/* Inherited methods */
abstract public array|object MongoDB\BSON\Serializable::bsonSerialize ( void )
abstract public void MongoDB\BSON\Unserializable::bsonUnserialize ( array $data )
}

MongoDB\Driver\BSON
PHP Manual