From 99e8b9a239699eb7e43976f82c0966c38212cced Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 16 Jun 2022 15:48:34 +0200 Subject: refresh reflection with 8.0 --- PHPINFO | 6 +-- REFLECTION | 154 ++++++++++++++++++++++++++++++++++++++++++++----------------- 2 files changed, 114 insertions(+), 46 deletions(-) diff --git a/PHPINFO b/PHPINFO index 3ab7a64..a732c3e 100644 --- a/PHPINFO +++ b/PHPINFO @@ -3,6 +3,6 @@ simple_kafka_client kafka support => enabled version => 0.1.4 -build date => Aug 4 2021 00:00:00 -librdkafka version (runtime) => 1.7.0 -librdkafka version (build) => 1.7.0.255 +build date => Sep 1 2021 00:00:00 +librdkafka version (runtime) => 1.9.0 +librdkafka version (build) => 1.9.0.255 diff --git a/REFLECTION b/REFLECTION index d0d7f2c..d20ca67 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #122 simple_kafka_client version 0.1.4 ] { +Extension [ extension #118 simple_kafka_client version 0.1.4 ] { - Constants [177] { Constant [ int RD_KAFKA_OFFSET_BEGINNING ] { -2 } @@ -9,8 +9,8 @@ Extension [ extension #122 simple_kafka_client version 0.1.4 ] { Constant [ int RD_KAFKA_PURGE_F_QUEUE ] { 1 } Constant [ int RD_KAFKA_PURGE_F_INFLIGHT ] { 2 } Constant [ int RD_KAFKA_PURGE_F_NON_BLOCKING ] { 4 } - Constant [ int RD_KAFKA_VERSION ] { 17236223 } - Constant [ int RD_KAFKA_BUILD_VERSION ] { 17236223 } + Constant [ int RD_KAFKA_VERSION ] { 17367295 } + Constant [ int RD_KAFKA_BUILD_VERSION ] { 17367295 } Constant [ int RD_KAFKA_RESP_ERR__BEGIN ] { -200 } Constant [ int RD_KAFKA_RESP_ERR__BAD_MSG ] { -199 } Constant [ int RD_KAFKA_RESP_ERR__BAD_COMPRESSION ] { -198 } @@ -284,7 +284,7 @@ Extension [ extension #122 simple_kafka_client version 0.1.4 ] { Parameter #0 [ string $token ] Parameter #1 [ int $lifetimeMs ] Parameter #2 [ string $principalName ] - Parameter #3 [ $extensions ] + Parameter #3 [ ?array $extensions = null ] } - Return [ void ] } @@ -428,7 +428,7 @@ Extension [ extension #122 simple_kafka_client version 0.1.4 ] { Parameter #0 [ string $token ] Parameter #1 [ int $lifetimeMs ] Parameter #2 [ string $principalName ] - Parameter #3 [ $extensions ] + Parameter #3 [ ?array $extensions = null ] } - Return [ void ] } @@ -460,7 +460,7 @@ Extension [ extension #122 simple_kafka_client version 0.1.4 ] { Method [ public method assign ] { - Parameters [1] { - Parameter #0 [ $topics ] + Parameter #0 [ ?array $topics = null ] } - Return [ void ] } @@ -602,7 +602,7 @@ Extension [ extension #122 simple_kafka_client version 0.1.4 ] { Parameter #0 [ string $token ] Parameter #1 [ int $lifetimeMs ] Parameter #2 [ string $principalName ] - Parameter #3 [ $extensions ] + Parameter #3 [ ?array $extensions = null ] } - Return [ void ] } @@ -704,7 +704,7 @@ Extension [ extension #122 simple_kafka_client version 0.1.4 ] { } } - Class [ class SimpleKafkaClient\Exception extends Exception implements Throwable ] { + Class [ class SimpleKafkaClient\Exception extends Exception implements Throwable, Stringable ] { - Constants [0] { } @@ -716,52 +716,86 @@ Extension [ extension #122 simple_kafka_client version 0.1.4 ] { } - Properties [4] { - Property [ protected $message ] - Property [ protected $code ] - Property [ protected $file ] - Property [ protected $line ] + Property [ protected $message = '' ] + Property [ protected $code = 0 ] + Property [ protected $file = NULL ] + Property [ protected $line = NULL ] } - Methods [10] { Method [ public method __construct ] { - Parameters [3] { - Parameter #0 [ $message ] - Parameter #1 [ $code ] - Parameter #2 [ $previous ] + Parameter #0 [ string $message = "" ] + Parameter #1 [ int $code = 0 ] + Parameter #2 [ ?Throwable $previous = null ] } } Method [ public method __wakeup ] { + + - Parameters [0] { + } } Method [ final public method getMessage ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ final public method getCode ] { + + - Parameters [0] { + } } Method [ final public method getFile ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ final public method getLine ] { + + - Parameters [0] { + } + - Return [ int ] } Method [ final public method getTrace ] { + + - Parameters [0] { + } + - Return [ array ] } Method [ final public method getPrevious ] { + + - Parameters [0] { + } + - Return [ ?Throwable ] } Method [ final public method getTraceAsString ] { + + - Parameters [0] { + } + - Return [ string ] } - Method [ public method __toString ] { + Method [ public method __toString ] { + + - Parameters [0] { + } + - Return [ string ] } } } - Class [ class SimpleKafkaClient\KafkaErrorException extends SimpleKafkaClient\Exception implements Throwable ] { + Class [ class SimpleKafkaClient\KafkaErrorException extends SimpleKafkaClient\Exception implements Stringable, Throwable ] { - Constants [0] { } @@ -773,14 +807,14 @@ Extension [ extension #122 simple_kafka_client version 0.1.4 ] { } - Properties [8] { - Property [ protected $message ] - Property [ protected $code ] - Property [ protected $file ] - Property [ protected $line ] - Property [ private $error_string ] - Property [ private $isFatal ] - Property [ private $isRetriable ] - Property [ private $transactionRequiresAbort ] + Property [ protected $message = '' ] + Property [ protected $code = 0 ] + Property [ protected $file = NULL ] + Property [ protected $line = NULL ] + Property [ private $error_string = NULL ] + Property [ private $isFatal = false ] + Property [ private $isRetriable = false ] + Property [ private $transactionRequiresAbort = false ] } - Methods [14] { @@ -825,30 +859,64 @@ Extension [ extension #122 simple_kafka_client version 0.1.4 ] { } Method [ public method __wakeup ] { + + - Parameters [0] { + } } Method [ final public method getMessage ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ final public method getCode ] { + + - Parameters [0] { + } } Method [ final public method getFile ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ final public method getLine ] { + + - Parameters [0] { + } + - Return [ int ] } Method [ final public method getTrace ] { + + - Parameters [0] { + } + - Return [ array ] } Method [ final public method getPrevious ] { + + - Parameters [0] { + } + - Return [ ?Throwable ] } Method [ final public method getTraceAsString ] { + + - Parameters [0] { + } + - Return [ string ] } - Method [ public method __toString ] { + Method [ public method __toString ] { + + - Parameters [0] { + } + - Return [ string ] } } } @@ -865,15 +933,15 @@ Extension [ extension #122 simple_kafka_client version 0.1.4 ] { } - Properties [9] { - Property [ public $err ] - Property [ public $topic_name ] - Property [ public $timestamp ] - Property [ public $partition ] - Property [ public $payload ] - Property [ public $len ] - Property [ public $key ] - Property [ public $offset ] - Property [ public $headers ] + Property [ public $err = NULL ] + Property [ public $topic_name = NULL ] + Property [ public $timestamp = NULL ] + Property [ public $partition = NULL ] + Property [ public $payload = NULL ] + Property [ public $len = NULL ] + Property [ public $key = NULL ] + Property [ public $offset = NULL ] + Property [ public $headers = NULL ] } - Methods [1] { @@ -1136,7 +1204,7 @@ Extension [ extension #122 simple_kafka_client version 0.1.4 ] { - Parameters [3] { Parameter #0 [ string $topicName ] Parameter #1 [ int $partition ] - Parameter #2 [ $offset ] + Parameter #2 [ int $offset = 0 ] } } @@ -1144,7 +1212,7 @@ Extension [ extension #122 simple_kafka_client version 0.1.4 ] { - Parameters [0] { } - - Return [ string or NULL ] + - Return [ ?string ] } Method [ public method setTopicName ] { @@ -1267,8 +1335,8 @@ Extension [ extension #122 simple_kafka_client version 0.1.4 ] { - Parameters [4] { Parameter #0 [ int $partition ] Parameter #1 [ int $msgFlags ] - Parameter #2 [ $payload ] - Parameter #3 [ $key ] + Parameter #2 [ ?string $payload = null ] + Parameter #3 [ ?string $key = null ] } - Return [ void ] } @@ -1278,10 +1346,10 @@ Extension [ extension #122 simple_kafka_client version 0.1.4 ] { - Parameters [6] { Parameter #0 [ int $partition ] Parameter #1 [ int $msgFlags ] - Parameter #2 [ $payload ] - Parameter #3 [ $key ] - Parameter #4 [ $headers ] - Parameter #5 [ $timestampMs ] + Parameter #2 [ ?string $payload = null ] + Parameter #3 [ ?string $key = null ] + Parameter #4 [ ?array $headers = null ] + Parameter #5 [ ?int $timestampMs = null ] } - Return [ void ] } -- cgit