Document
final class Document implements IteratorAggregate, ArrayAccess, Type, Stringable (View source)
Methods
No description
Retrieve an external iterator
No description
No description
No description
No description
No description
No description
No description
No description
Magic method {https://www.php.net/manual/en/language.oop5.magic.php#object.tostring} allows a class to decide how it will react when it is treated like a string.
No description
No description
No description
Details
final static Document
fromBSON(string $bson)
No description
final static Document
fromJSON(string $json)
No description
final static Document
fromPHP(array|object $value)
No description
final mixed
get(string $key)
No description
final Traversable
getIterator()
Retrieve an external iterator
final bool
has(string $key)
No description
final array|object
toPHP(array|null $typeMap = null)
No description
final string
toCanonicalExtendedJSON()
No description
final string
toRelaxedExtendedJSON()
No description
bool
offsetExists(TKey $offset)
No description
mixed
offsetGet(TKey $offset)
No description
void
offsetSet(TKey $offset, TValue $value)
No description
void
offsetUnset(TKey $offset)
No description
final string
__toString()
Magic method {https://www.php.net/manual/en/language.oop5.magic.php#object.tostring} allows a class to decide how it will react when it is treated like a string.
final static Document
__set_state(array $properties)
No description
final void
__unserialize(array $data)
No description
final array
__serialize()
No description