-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdeepclone.stub.php
More file actions
37 lines (28 loc) · 903 Bytes
/
deepclone.stub.php
File metadata and controls
37 lines (28 loc) · 903 Bytes
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
<?php
/**
* @generate-class-entries
*/
namespace DeepClone {
class NotInstantiableException extends \InvalidArgumentException {}
class ClassNotFoundException extends \InvalidArgumentException {}
}
namespace {
/**
* @var int
* @cvalue DEEPCLONE_HYDRATE_CALL_HOOKS
*/
const DEEPCLONE_HYDRATE_CALL_HOOKS = UNKNOWN;
/**
* @var int
* @cvalue DEEPCLONE_HYDRATE_NO_LAZY_INIT
*/
const DEEPCLONE_HYDRATE_NO_LAZY_INIT = UNKNOWN;
/**
* @var int
* @cvalue DEEPCLONE_HYDRATE_PRESERVE_REFS
*/
const DEEPCLONE_HYDRATE_PRESERVE_REFS = UNKNOWN;
function deepclone_to_array(mixed $value, ?array $allowed_classes = null): array {}
function deepclone_from_array(array $data, ?array $allowed_classes = null): mixed {}
function deepclone_hydrate(object|string $object_or_class, array $vars = [], int $flags = 0): object {}
}