-
-
Notifications
You must be signed in to change notification settings - Fork 319
/
Copy pathyar.stub.php
76 lines (50 loc) · 1.74 KB
/
yar.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<?php
/** @generate-legacy-arginfo */
class Yar_Server {
/* properties */
/* protected object $_executor = NULL; */
/* methods */
public function __construct(object $executor) {}
public function handle():bool {}
}
class Yar_Client {
/* properties */
/* methods */
public function __construct(string $uri, array $options = NULL) {}
public function call(string $method, array $arguments):mixed {}
public function getOpt(int $type):mixed {}
public function setOpt(int $type, mixed $value):Yar_Client|bool {}
/**
* @implementation-alias Yar_Client::call
*/
public function __call(string $method, array $arguments):mixed {}
}
class Yar_Concurrent_Client {
/* properties */
/* methods */
public static function call(string $uri, string $method, ?array $arguments = NULL, ?callable $callback = NULL, ?callable $error_callback = NULL, ?array $options = NULL):null|int|bool {}
public static function loop(?callable $callback = NULL, ?callable $error_callback = NULL, ?array $options = NULL):?bool {}
public static function reset():bool {}
}
class Yar_Server_Exception extends Exception {
/* methods */
public function getType():string|int { }
}
class Yar_Client_Exception extends Exception {
/* methods */
public function getType():string { }
}
class Yar_Server_Request_Exception extends Yar_Server_Exception {
}
class Yar_Server_Protocol_Exception extends Yar_Server_Exception {
}
class Yar_Server_Packager_Exception extends Yar_Server_Exception {
}
class Yar_Server_Output_Exception extends Yar_Server_Exception {
}
class Yar_Client_Transport_Exception extends Yar_Client_Exception {
}
class Yar_Client_Protocol_Exception extends Yar_Client_Exception {
}
class Yar_Client_Packager_Exception extends Yar_Client_Exception {
}