Mongolid\Serializer\SerializableTypeInterface::convert PHP Method

convert() public method

Retrieves corresponding MongoDB object that according to class that implement this interface, i.e., Type\ObjectID should return an MongoDB\BSON\ObjectID object.
public convert ( ) : mixed
return mixed
    public function convert();
SerializableTypeInterface