-
Notifications
You must be signed in to change notification settings - Fork 209
/
Copy pathfunctions.stub.php
32 lines (22 loc) · 1.04 KB
/
functions.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
<?php
/** @generate-function-entries */
namespace MongoDB\BSON {
/** @deprecated use MongoDB\BSON\Document::fromJSON instead */
function fromJSON(string $json): string {}
/** @deprecated use MongoDB\BSON\Document::fromPHP instead */
function fromPHP(array|object $value): string {}
/** @deprecated use MongoDB\BSON\Document::toCanonicalExtendedJSON instead */
function toCanonicalExtendedJSON(string $bson): string {}
/** @deprecated */
function toJSON(string $bson): string {}
/** @deprecated use MongoDB\BSON\Document::toPHP instead */
function toPHP(string $bson, ?array $typemap = null): array|object {}
/** @deprecated use MongoDB\BSON\Document::toRelaxedExtendedJSON instead */
function toRelaxedExtendedJSON(string $bson): string {}
}
namespace MongoDB\Driver\Monitoring {
function addSubscriber(Subscriber $subscriber): void {}
/** @internal */
function mongoc_log(int $level, string $domain, string $message): void {}
function removeSubscriber(Subscriber $subscriber): void {}
}