PHP Mongolid\Serializer Namespace

Nested Namespaces

Mongolid\Serializer\Type

Interfaces

Name Description
SerializableTypeInterface This interface is a contract to convert unserialized objects to corresponding MongoDB\BSON objects.

Сlasses

Name Description
Serializer This class is responsible to serialize ActiveRecord classes. It is necessary due to a bug in Mongo Driver that does not allow us to serialize some classes, i.e., ObjectID, UTCDateTime.
SerializerTest Test case for Serializer class.