Skip to content

Commit

Permalink
Remove obsolete codec documentation (#1181)
Browse files Browse the repository at this point in the history
  • Loading branch information
alcaeus authored Oct 9, 2023
1 parent 0017da3 commit 3c72392
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/Codec/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3c72392

Please sign in to comment.