Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-2247

Document all magic methods

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: Docs

      This came up in https://github.com/alcaeus/doc-en/pull/6#discussion_r1231554998.

      We don't document magic methods such as __set_state, __serialize, and __unserialize, however we document __toString in classes that implement it.

      As is, users are most likely not aware that these methods are indeed implemented.

            Assignee:
            Unassigned Unassigned
            Reporter:
            andreas.braun@mongodb.com Andreas Braun
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: