-
Notifications
You must be signed in to change notification settings - Fork 209
/
Copy pathDocument.stub.php
47 lines (27 loc) · 1.27 KB
/
Document.stub.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?php
/**
* @generate-class-entries static
* @generate-function-entries static
*/
namespace MongoDB\BSON;
final class Document implements \IteratorAggregate, \ArrayAccess, Type, \Stringable
{
private function __construct() {}
final static public function fromBSON(string $bson): Document {}
final static public function fromJSON(string $json): Document {}
final static public function fromPHP(array|object $value): Document {}
final public function get(string $key): mixed {}
final public function getIterator(): Iterator {}
final public function has(string $key): bool {}
final public function toPHP(?array $typeMap = null): array|object {}
final public function toCanonicalExtendedJSON(): string {}
final public function toRelaxedExtendedJSON(): string {}
public function offsetExists(mixed $offset): bool {}
public function offsetGet(mixed $offset): mixed {}
public function offsetSet(mixed $offset, mixed $value): void {}
public function offsetUnset(mixed $offset): void {}
final public function __toString(): string {}
final public static function __set_state(array $properties): Document {}
final public function __unserialize(array $data): void {}
final public function __serialize(): array {}
}