-
-
Notifications
You must be signed in to change notification settings - Fork 266
/
conf.stub.php
70 lines (52 loc) · 1.67 KB
/
conf.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
<?php
/**
* @generate-class-entries
* @generate-function-entries
* @generate-legacy-arginfo
*/
namespace RdKafka;
class Conf
{
public function __construct() {}
/** @tentative-return-type */
public function dump(): array {}
/** @tentative-return-type */
public function set(string $name, string $value): void {}
/**
* @tentative-return-type
* @deprecated
*/
public function setDefaultTopicConf(TopicConf $topic_conf): void {}
/** @tentative-return-type */
public function setErrorCb(callable $callback): void {}
/** @tentative-return-type */
public function setDrMsgCb(callable $callback): void {}
/** @tentative-return-type */
public function setStatsCb(callable $callback): void {}
/** @tentative-return-type */
public function setRebalanceCb(callable $callback): void {}
/** @tentative-return-type */
public function setConsumeCb(callable $callback): void {}
/** @tentative-return-type */
public function setOffsetCommitCb(callable $callback): void {}
/** @tentative-return-type */
public function setLogCb(callable $callback): void {}
/** @tentative-return-type */
public function setOauthbearerTokenRefreshCb(callable $callback): void {}
}
class TopicConf
{
public function __construct() {}
/**
* @tentative-return-type
* @implementation-alias RdKafka\Conf::dump
*/
public function dump(): array {}
/**
* @tentative-return-type
* @implementation-alias RdKafka\Conf::set
*/
public function set(string $name, string $value): void {}
/** @tentative-return-type */
public function setPartitioner(int $partitioner): void {}
}