From 3c72392e3ba5e95ccaa63996bb461a1b54473365 Mon Sep 17 00:00:00 2001 From: Andreas Braun Date: Mon, 9 Oct 2023 12:49:54 +0200 Subject: [PATCH] Remove obsolete codec documentation (#1181) --- src/Codec/architecture.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/Codec/architecture.md b/src/Codec/architecture.md index 41e4dc9cc..7dd9b0ea7 100644 --- a/src/Codec/architecture.md +++ b/src/Codec/architecture.md @@ -24,12 +24,6 @@ for documents where a more specific `DocumentCodec` is provided. The `DocumentCo and `encode` methods from the base `Codec` interface to narrow the return types. Document codecs guarantee to always encode to a BSON document instance and decode to a PHP object. -## Built-in Codecs - -By default, two codecs are provided: an `ArrayCodec` and an `ObjectCodec`. These two codecs are used to recursively -encode and decode values in arrays and `stdClass` instances, respectively. When encoding or decoding an object, -`ObjectCodec` only handles public properties of the object and ignores private and protected properties. - ## Future Work ### Using Codecs