From a7352a4f9b3c31706492b2e3400197ce53a0632d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 2 Jul 2024 14:07:18 +0200 Subject: update to 6.0.0 rename to php-pecl-swoole6 raise dependency on PHP 8.1 --- REFLECTION | 2416 +++++------------------------------------------------------- 1 file changed, 181 insertions(+), 2235 deletions(-) (limited to 'REFLECTION') diff --git a/REFLECTION b/REFLECTION index c3d8b64..d934341 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #94 swoole version 5.1.3 ] { +Extension [ extension #94 swoole version 6.0.0 ] { - Dependencies { Dependency [ json (Required) ] @@ -9,9 +9,6 @@ Extension [ extension #94 swoole version 5.1.3 ] { } - INI { - Entry [ swoole.enable_coroutine ] - Current = 'On' - } Entry [ swoole.enable_library ] Current = 'On' } @@ -32,12 +29,12 @@ Extension [ extension #94 swoole version 5.1.3 ] { } } - - Constants [421] { - Constant [ string SWOOLE_VERSION ] { 5.1.3 } - Constant [ int SWOOLE_VERSION_ID ] { 50103 } - Constant [ int SWOOLE_MAJOR_VERSION ] { 5 } - Constant [ int SWOOLE_MINOR_VERSION ] { 1 } - Constant [ int SWOOLE_RELEASE_VERSION ] { 3 } + - Constants [390] { + Constant [ string SWOOLE_VERSION ] { 6.0.0 } + Constant [ int SWOOLE_VERSION_ID ] { 60000 } + Constant [ int SWOOLE_MAJOR_VERSION ] { 6 } + Constant [ int SWOOLE_MINOR_VERSION ] { 0 } + Constant [ int SWOOLE_RELEASE_VERSION ] { 0 } Constant [ string SWOOLE_EXTRA_VERSION ] { } Constant [ bool SWOOLE_DEBUG ] { } Constant [ bool SWOOLE_HAVE_COMPRESSION ] { 1 } @@ -105,6 +102,9 @@ Extension [ extension #94 swoole version 5.1.3 ] { Constant [ int SWOOLE_ERROR_PROTOCOL_ERROR ] { 508 } Constant [ int SWOOLE_ERROR_WRONG_OPERATION ] { 509 } Constant [ int SWOOLE_ERROR_PHP_RUNTIME_NOTICE ] { 510 } + Constant [ int SWOOLE_ERROR_FOR_TEST ] { 511 } + Constant [ int SWOOLE_ERROR_UNDEFINED_BEHAVIOR ] { 600 } + Constant [ int SWOOLE_ERROR_NOT_THREAD_SAFETY ] { 601 } Constant [ int SWOOLE_ERROR_FILE_NOT_EXIST ] { 700 } Constant [ int SWOOLE_ERROR_FILE_TOO_LARGE ] { 701 } Constant [ int SWOOLE_ERROR_FILE_EMPTY ] { 702 } @@ -258,9 +258,7 @@ Extension [ extension #94 swoole version 5.1.3 ] { Constant [ int SWOOLE_IPC_UNIXSOCK ] { 1 } Constant [ int SWOOLE_IPC_SOCKET ] { 3 } Constant [ int SWOOLE_IOV_MAX ] { 1024 } - Constant [ int SWOOLE_FILELOCK ] { 2 } Constant [ int SWOOLE_MUTEX ] { 3 } - Constant [ int SWOOLE_SEM ] { 4 } Constant [ int SWOOLE_RWLOCK ] { 1 } Constant [ int SWOOLE_SPINLOCK ] { 5 } Constant [ int SWOOLE_MSGQUEUE_ORIENT ] { 1 } @@ -330,35 +328,6 @@ Extension [ extension #94 swoole version 5.1.3 ] { Constant [ int SWOOLE_HTTP2_ERROR_ENHANCE_YOUR_CALM ] { 11 } Constant [ int SWOOLE_HTTP2_ERROR_INADEQUATE_SECURITY ] { 12 } Constant [ int SWOOLE_HTTP2_ERROR_HTTP_1_1_REQUIRED ] { 13 } - Constant [ int SWOOLE_MYSQLND_CR_UNKNOWN_ERROR ] { 2000 } - Constant [ int SWOOLE_MYSQLND_CR_CONNECTION_ERROR ] { 2002 } - Constant [ int SWOOLE_MYSQLND_CR_SERVER_GONE_ERROR ] { 2006 } - Constant [ int SWOOLE_MYSQLND_CR_OUT_OF_MEMORY ] { 2008 } - Constant [ int SWOOLE_MYSQLND_CR_SERVER_LOST ] { 2013 } - Constant [ int SWOOLE_MYSQLND_CR_COMMANDS_OUT_OF_SYNC ] { 2014 } - Constant [ int SWOOLE_MYSQLND_CR_CANT_FIND_CHARSET ] { 2019 } - Constant [ int SWOOLE_MYSQLND_CR_MALFORMED_PACKET ] { 2027 } - Constant [ int SWOOLE_MYSQLND_CR_NOT_IMPLEMENTED ] { 2054 } - Constant [ int SWOOLE_MYSQLND_CR_NO_PREPARE_STMT ] { 2030 } - Constant [ int SWOOLE_MYSQLND_CR_PARAMS_NOT_BOUND ] { 2031 } - Constant [ int SWOOLE_MYSQLND_CR_INVALID_PARAMETER_NO ] { 2034 } - Constant [ int SWOOLE_MYSQLND_CR_INVALID_BUFFER_USE ] { 2035 } - Constant [ int SWOOLE_REDIS_MODE_MULTI ] { 0 } - Constant [ int SWOOLE_REDIS_MODE_PIPELINE ] { 1 } - Constant [ int SWOOLE_REDIS_TYPE_NOT_FOUND ] { 0 } - Constant [ int SWOOLE_REDIS_TYPE_STRING ] { 1 } - Constant [ int SWOOLE_REDIS_TYPE_SET ] { 2 } - Constant [ int SWOOLE_REDIS_TYPE_LIST ] { 3 } - Constant [ int SWOOLE_REDIS_TYPE_ZSET ] { 4 } - Constant [ int SWOOLE_REDIS_TYPE_HASH ] { 5 } - Constant [ int SWOOLE_REDIS_ERR_IO ] { 1 } - Constant [ int SWOOLE_REDIS_ERR_OTHER ] { 2 } - Constant [ int SWOOLE_REDIS_ERR_EOF ] { 3 } - Constant [ int SWOOLE_REDIS_ERR_PROTOCOL ] { 4 } - Constant [ int SWOOLE_REDIS_ERR_OOM ] { 5 } - Constant [ int SWOOLE_REDIS_ERR_CLOSED ] { 6 } - Constant [ int SWOOLE_REDIS_ERR_NOAUTH ] { 7 } - Constant [ int SWOOLE_REDIS_ERR_ALLOC ] { 8 } Constant [ int SWOOLE_BASE ] { 1 } Constant [ int SWOOLE_PROCESS ] { 2 } Constant [ int SWOOLE_IPC_UNSOCK ] { 1 } @@ -451,9 +420,6 @@ Extension [ extension #94 swoole version 5.1.3 ] { Constant [ int WEBSOCKET_CLOSE_TRY_AGAIN_LATER ] { 1013 } Constant [ int WEBSOCKET_CLOSE_BAD_GATEWAY ] { 1014 } Constant [ int WEBSOCKET_CLOSE_TLS ] { 1015 } - Constant [ int SW_PGSQL_ASSOC ] { 1 } - Constant [ int SW_PGSQL_NUM ] { 2 } - Constant [ int SW_PGSQL_BOTH ] { 3 } } - Functions { @@ -489,7 +455,7 @@ Extension [ extension #94 swoole version 5.1.3 ] { - Parameters [1] { Parameter #0 [ array $settings ] } - - Return [ void ] + - Return [ bool ] } Function [ function swoole_coroutine_create ] { @@ -692,6 +658,13 @@ Extension [ extension #94 swoole version 5.1.3 ] { } - Return [ mixed ] } + Function [ function swoole_test_fn ] { + + - Parameters [1] { + Parameter #0 [ string $case ] + } + - Return [ void ] + } Function [ function swoole_internal_call_user_shutdown_begin ] { - Parameters [0] { @@ -829,13 +802,6 @@ Extension [ extension #94 swoole version 5.1.3 ] { } - Return [ void ] } - Function [ function swoole_timer_set ] { - - - Parameters [1] { - Parameter #0 [ array $settings ] - } - - Return [ void ] - } Function [ function swoole_timer_after ] { - Parameters [2] { @@ -1067,7 +1033,7 @@ Extension [ extension #94 swoole version 5.1.3 ] { } } - - Classes [55] { + - Classes [49] { Class [ class Swoole\Exception extends Exception implements Throwable, Stringable ] { - Constants [0] { @@ -1508,10 +1474,8 @@ Extension [ extension #94 swoole version 5.1.3 ] { Class [ class Swoole\Lock ] { - - Constants [5] { - Constant [ public int FILELOCK ] { 2 } + - Constants [3] { Constant [ public int MUTEX ] { 3 } - Constant [ public int SEM ] { 4 } Constant [ public int RWLOCK ] { 1 } Constant [ public int SPINLOCK ] { 5 } } @@ -1529,9 +1493,8 @@ Extension [ extension #94 swoole version 5.1.3 ] { - Methods [9] { Method [ public method __construct ] { - - Parameters [2] { + - Parameters [1] { Parameter #0 [ int $type = SWOOLE_MUTEX ] - Parameter #1 [ string $filename = '' ] } } @@ -2145,15 +2108,7 @@ Extension [ extension #94 swoole version 5.1.3 ] { - Static properties [0] { } - - Static methods [9] { - Method [ static public method set ] { - - - Parameters [1] { - Parameter #0 [ array $settings ] - } - - Return [ void ] - } - + - Static methods [8] { Method [ static public method tick ] { - Parameters [3] { @@ -3788,10 +3743,10 @@ Extension [ extension #94 swoole version 5.1.3 ] { } - Properties [8] { - Property [ public $fd = -1 ] - Property [ public $domain = 0 ] - Property [ public $type = 0 ] - Property [ public $protocol = 0 ] + Property [ public readonly $fd = -1 ] + Property [ public readonly $domain = 0 ] + Property [ public readonly $type = 0 ] + Property [ public readonly $protocol = 0 ] Property [ public $errCode = 0 ] Property [ public $errMsg = '' ] Property [ public $__ext_sockets_nonblock = false ] @@ -5225,7 +5180,7 @@ Extension [ extension #94 swoole version 5.1.3 ] { } } - Class [ class Swoole\Coroutine\MySQL ] { + Class [ class Swoole\Server ] { - Constants [0] { } @@ -5236,23 +5191,46 @@ Extension [ extension #94 swoole version 5.1.3 ] { - Static methods [0] { } - - Properties [10] { - Property [ private $socket = NULL ] - Property [ public $serverInfo = NULL ] - Property [ public $sock = -1 ] - Property [ public $connected = false ] - Property [ public $connect_errno = 0 ] - Property [ public $connect_error = '' ] - Property [ public $affected_rows = 0 ] - Property [ public $insert_id = 0 ] - Property [ public $error = '' ] - Property [ public $errno = 0 ] + - Properties [29] { + Property [ private $onStart = NULL ] + Property [ private $onBeforeShutdown = NULL ] + Property [ private $onShutdown = NULL ] + Property [ private $onWorkerStart = NULL ] + Property [ private $onWorkerStop = NULL ] + Property [ private $onBeforeReload = NULL ] + Property [ private $onAfterReload = NULL ] + Property [ private $onWorkerExit = NULL ] + Property [ private $onWorkerError = NULL ] + Property [ private $onTask = NULL ] + Property [ private $onFinish = NULL ] + Property [ private $onManagerStart = NULL ] + Property [ private $onManagerStop = NULL ] + Property [ private $onPipeMessage = NULL ] + Property [ public $setting = NULL ] + Property [ public $connections = NULL ] + Property [ public $host = '' ] + Property [ public $port = 0 ] + Property [ public $type = 0 ] + Property [ public $ssl = false ] + Property [ public $mode = 0 ] + Property [ public $ports = NULL ] + Property [ public $master_pid = 0 ] + Property [ public $manager_pid = 0 ] + Property [ public $worker_id = -1 ] + Property [ public $taskworker = false ] + Property [ public $worker_pid = 0 ] + Property [ public $stats_timer = NULL ] + Property [ public $admin_server = NULL ] } - - Methods [16] { - Method [ public method __construct ] { + - Methods [45] { + Method [ public method __construct ] { - - Parameters [0] { + - Parameters [4] { + Parameter #0 [ string $host = '0.0.0.0' ] + Parameter #1 [ int $port = 0 ] + Parameter #2 [ int $mode = SWOOLE_BASE ] + Parameter #3 [ int $sock_type = SWOOLE_SOCK_TCP ] } } @@ -5262,2054 +5240,232 @@ Extension [ extension #94 swoole version 5.1.3 ] { } } - Method [ public method getDefer ] { - - - Parameters [0] { - } - } - - Method [ public method setDefer ] { + Method [ public method listen ] { - - Parameters [1] { - Parameter #0 [ $defer = ] + - Parameters [3] { + Parameter #0 [ string $host ] + Parameter #1 [ int $port ] + Parameter #2 [ int $sock_type ] } + - Return [ Swoole\Server\Port|false ] } - Method [ public method connect ] { + Method [ public method addlistener ] { - - Parameters [1] { - Parameter #0 [ array $server_config = ] + - Parameters [3] { + Parameter #0 [ string $host ] + Parameter #1 [ int $port ] + Parameter #2 [ int $sock_type ] } + - Return [ Swoole\Server\Port|false ] } - Method [ public method query ] { + Method [ public method on ] { - Parameters [2] { - Parameter #0 [ $sql ] - Parameter #1 [ $timeout = ] + Parameter #0 [ string $event_name ] + Parameter #1 [ callable $callback ] } + - Return [ bool ] } - Method [ public method fetch ] { + Method [ public method getCallback ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ string $event_name ] } + - Return [ Closure|array|string|null ] } - Method [ public method fetchAll ] { + Method [ public method set ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ array $settings ] } + - Return [ bool ] } - Method [ public method nextResult ] { + Method [ public method start ] { - Parameters [0] { } + - Return [ bool ] } - Method [ public method prepare ] { + Method [ public method send ] { - - Parameters [2] { - Parameter #0 [ $query ] - Parameter #1 [ $timeout = ] + - Parameters [3] { + Parameter #0 [ string|int $fd ] + Parameter #1 [ string $send_data ] + Parameter #2 [ int $serverSocket = -1 ] } + - Return [ bool ] } - Method [ public method recv ] { + Method [ public method sendto ] { - - Parameters [0] { + - Parameters [4] { + Parameter #0 [ string $ip ] + Parameter #1 [ int $port ] + Parameter #2 [ string $send_data ] + Parameter #3 [ int $server_socket = -1 ] } + - Return [ bool ] } - Method [ public method begin ] { + Method [ public method sendwait ] { - - Parameters [1] { - Parameter #0 [ $timeout = ] + - Parameters [2] { + Parameter #0 [ int $conn_fd ] + Parameter #1 [ string $send_data ] } + - Return [ bool ] } - Method [ public method commit ] { + Method [ public method exists ] { - Parameters [1] { - Parameter #0 [ $timeout = ] + Parameter #0 [ int $fd ] } + - Return [ bool ] } - Method [ public method rollback ] { + Method [ public method exist ] { - Parameters [1] { - Parameter #0 [ $timeout = ] + Parameter #0 [ int $fd ] } + - Return [ bool ] } - Method [ public method escape ] { + Method [ public method protect ] { - Parameters [2] { - Parameter #0 [ $string ] - Parameter #1 [ $flags = ] + Parameter #0 [ int $fd ] + Parameter #1 [ bool $is_protected = true ] } + - Return [ bool ] } - Method [ public method close ] { + Method [ public method sendfile ] { - - Parameters [0] { + - Parameters [4] { + Parameter #0 [ int $conn_fd ] + Parameter #1 [ string $filename ] + Parameter #2 [ int $offset = 0 ] + Parameter #3 [ int $length = 0 ] } + - Return [ bool ] } - } - } - - Class [ class Swoole\Coroutine\MySQL\Statement ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [5] { - Property [ public $id = 0 ] - Property [ public $affected_rows = 0 ] - Property [ public $insert_id = 0 ] - Property [ public $error = '' ] - Property [ public $errno = 0 ] - } - - Methods [6] { - Method [ public method execute ] { + Method [ public method close ] { - Parameters [2] { - Parameter #0 [ $params = ] - Parameter #1 [ $timeout = ] + Parameter #0 [ int $fd ] + Parameter #1 [ bool $reset = false ] } + - Return [ bool ] } - Method [ public method fetch ] { + Method [ public method confirm ] { - Parameters [1] { - Parameter #0 [ $timeout = ] + Parameter #0 [ int $fd ] } + - Return [ bool ] } - Method [ public method fetchAll ] { + Method [ public method pause ] { - Parameters [1] { - Parameter #0 [ $timeout = ] + Parameter #0 [ int $fd ] } + - Return [ bool ] } - Method [ public method nextResult ] { + Method [ public method resume ] { - Parameters [1] { - Parameter #0 [ $timeout = ] + Parameter #0 [ int $fd ] } + - Return [ bool ] } - Method [ public method recv ] { + Method [ public method task ] { - - Parameters [1] { - Parameter #0 [ $timeout = ] + - Parameters [3] { + Parameter #0 [ mixed $data ] + Parameter #1 [ int $taskWorkerIndex = -1 ] + Parameter #2 [ ?callable $finishCallback = null ] } + - Return [ int|false ] } - Method [ public method close ] { + Method [ public method taskwait ] { - - Parameters [0] { + - Parameters [3] { + Parameter #0 [ mixed $data ] + Parameter #1 [ float $timeout = 0.5 ] + Parameter #2 [ int $taskWorkerIndex = -1 ] } + - Return [ mixed ] } - } - } - - Class [ class Swoole\Coroutine\MySQL\Exception extends Swoole\Exception implements Stringable, Throwable ] { - - Constants [0] { - } + Method [ public method taskWaitMulti ] { - - Static properties [0] { - } + - Parameters [2] { + Parameter #0 [ array $tasks ] + Parameter #1 [ float $timeout = 0.5 ] + } + - Return [ array|false ] + } - - Static methods [0] { - } + Method [ public method taskCo ] { - - Properties [4] { - Property [ protected $message = '' ] - Property [ protected $code = 0 ] - Property [ protected string $file = '' ] - Property [ protected int $line = 0 ] - } + - Parameters [2] { + Parameter #0 [ array $tasks ] + Parameter #1 [ float $timeout = 0.5 ] + } + - Return [ array|false ] + } - - Methods [10] { - Method [ public method __construct ] { + Method [ public method finish ] { - - Parameters [3] { - Parameter #0 [ string $message = "" ] - Parameter #1 [ int $code = 0 ] - Parameter #2 [ ?Throwable $previous = null ] + - Parameters [1] { + Parameter #0 [ mixed $data ] } + - Return [ bool ] } - Method [ public method __wakeup ] { + Method [ public method reload ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ bool $only_reload_taskworker = false ] } - - Tentative return [ void ] + - Return [ bool ] } - Method [ final public method getMessage ] { + Method [ public method shutdown ] { - Parameters [0] { } - - Return [ string ] + - Return [ bool ] } - Method [ final public method getCode ] { + Method [ public method stop ] { - - Parameters [0] { + - Parameters [2] { + Parameter #0 [ int $workerId = -1 ] + Parameter #1 [ bool $waitEvent = false ] } + - Return [ bool ] } - Method [ final public method getFile ] { + Method [ public method getLastError ] { - 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 ] { - - - Parameters [0] { - } - - Return [ string ] - } - } - } - - Class [ class Swoole\Coroutine\Redis ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [8] { - Property [ public $host = '' ] - Property [ public $port = 0 ] - Property [ public $setting = NULL ] - Property [ public $sock = -1 ] - Property [ public $connected = false ] - Property [ public $errType = 0 ] - Property [ public $errCode = 0 ] - Property [ public $errMsg = '' ] - } - - - Methods [185] { - Method [ public method __construct ] { - - - Parameters [1] { - Parameter #0 [ $config = ] - } - } - - Method [ public method __destruct ] { - - - Parameters [0] { - } - } - - Method [ public method connect ] { - - - Parameters [3] { - Parameter #0 [ $host ] - Parameter #1 [ $port = ] - Parameter #2 [ $serialize = ] - } - } - - Method [ public method getAuth ] { - - - Parameters [0] { - } - } - - Method [ public method getDBNum ] { - - - Parameters [0] { - } - } - - Method [ public method getOptions ] { - - - Parameters [0] { - } - } - - Method [ public method setOptions ] { - - - Parameters [1] { - Parameter #0 [ $options ] - } - } - - Method [ public method getDefer ] { - - - Parameters [0] { - } - } - - Method [ public method setDefer ] { - - - Parameters [1] { - Parameter #0 [ $defer ] - } - } - - Method [ public method recv ] { - - - Parameters [0] { - } - } - - Method [ public method request ] { - - - Parameters [1] { - Parameter #0 [ array $params ] - } - } - - Method [ public method close ] { - - - Parameters [0] { - } - } - - Method [ public method set ] { - - - Parameters [4] { - Parameter #0 [ $key ] - Parameter #1 [ $value ] - Parameter #2 [ $timeout = ] - Parameter #3 [ $opt = ] - } - } - - Method [ public method setBit ] { - - - Parameters [3] { - Parameter #0 [ $key ] - Parameter #1 [ $offset ] - Parameter #2 [ $value ] - } - } - - Method [ public method setEx ] { - - - Parameters [3] { - Parameter #0 [ $key ] - Parameter #1 [ $expire ] - Parameter #2 [ $value ] - } - } - - Method [ public method psetEx ] { - - - Parameters [3] { - Parameter #0 [ $key ] - Parameter #1 [ $expire ] - Parameter #2 [ $value ] - } - } - - Method [ public method lSet ] { - - - Parameters [3] { - Parameter #0 [ $key ] - Parameter #1 [ $index ] - Parameter #2 [ $value ] - } - } - - Method [ public method get ] { - - - Parameters [1] { - Parameter #0 [ $key ] - } - } - - Method [ public method mGet ] { - - - Parameters [1] { - Parameter #0 [ $keys ] - } - } - - Method [ public method del ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $other_keys = ] - } - } - - Method [ public method hDel ] { - - - Parameters [3] { - Parameter #0 [ $key ] - Parameter #1 [ $member ] - Parameter #2 [ $other_members = ] - } - } - - Method [ public method hSet ] { - - - Parameters [3] { - Parameter #0 [ $key ] - Parameter #1 [ $member ] - Parameter #2 [ $value ] - } - } - - Method [ public method hMSet ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $pairs ] - } - } - - Method [ public method hSetNx ] { - - - Parameters [3] { - Parameter #0 [ $key ] - Parameter #1 [ $member ] - Parameter #2 [ $value ] - } - } - - Method [ public method delete ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $other_keys = ] - } - } - - Method [ public method mSet ] { - - - Parameters [1] { - Parameter #0 [ $pairs ] - } - } - - Method [ public method mSetNx ] { - - - Parameters [1] { - Parameter #0 [ $pairs ] - } - } - - Method [ public method getKeys ] { - - - Parameters [1] { - Parameter #0 [ $pattern ] - } - } - - Method [ public method keys ] { - - - Parameters [1] { - Parameter #0 [ $pattern ] - } - } - - Method [ public method exists ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $other_keys = ] - } - } - - Method [ public method type ] { - - - Parameters [1] { - Parameter #0 [ $key ] - } - } - - Method [ public method strLen ] { - - - Parameters [1] { - Parameter #0 [ $key ] - } - } - - Method [ public method lPop ] { - - - Parameters [1] { - Parameter #0 [ $key ] - } - } - - Method [ public method blPop ] { - - - Parameters [3] { - Parameter #0 [ $key ] - Parameter #1 [ $timeout_or_key ] - Parameter #2 [ $extra_args = ] - } - } - - Method [ public method rPop ] { - - - Parameters [1] { - Parameter #0 [ $key ] - } - } - - Method [ public method brPop ] { - - - Parameters [3] { - Parameter #0 [ $key ] - Parameter #1 [ $timeout_or_key ] - Parameter #2 [ $extra_args = ] - } - } - - Method [ public method bRPopLPush ] { - - - Parameters [3] { - Parameter #0 [ $src ] - Parameter #1 [ $dst ] - Parameter #2 [ $timeout ] - } - } - - Method [ public method lSize ] { - - - Parameters [1] { - Parameter #0 [ $key ] - } - } - - Method [ public method lLen ] { - - - Parameters [1] { - Parameter #0 [ $key ] - } - } - - Method [ public method sSize ] { - - - Parameters [1] { - Parameter #0 [ $key ] - } - } - - Method [ public method scard ] { - - - Parameters [1] { - Parameter #0 [ $key ] - } - } - - Method [ public method sPop ] { - - - Parameters [1] { - Parameter #0 [ $key ] - } - } - - Method [ public method sMembers ] { - - - Parameters [1] { - Parameter #0 [ $key ] - } - } - - Method [ public method sGetMembers ] { - - - Parameters [1] { - Parameter #0 [ $key ] - } - } - - Method [ public method sRandMember ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $count = ] - } - } - - Method [ public method persist ] { - - - Parameters [1] { - Parameter #0 [ $key ] - } - } - - Method [ public method ttl ] { - - - Parameters [1] { - Parameter #0 [ $key ] - } - } - - Method [ public method pttl ] { - - - Parameters [1] { - Parameter #0 [ $key ] - } - } - - Method [ public method zCard ] { - - - Parameters [1] { - Parameter #0 [ $key ] - } - } - - Method [ public method zSize ] { - - - Parameters [1] { - Parameter #0 [ $key ] - } - } - - Method [ public method hLen ] { - - - Parameters [1] { - Parameter #0 [ $key ] - } - } - - Method [ public method hKeys ] { - - - Parameters [1] { - Parameter #0 [ $key ] - } - } - - Method [ public method hVals ] { - - - Parameters [1] { - Parameter #0 [ $key ] - } - } - - Method [ public method hGetAll ] { - - - Parameters [1] { - Parameter #0 [ $key ] - } - } - - Method [ public method debug ] { - - - Parameters [1] { - Parameter #0 [ $key ] - } - } - - Method [ public method restore ] { - - - Parameters [3] { - Parameter #0 [ $ttl ] - Parameter #1 [ $key ] - Parameter #2 [ $value ] - } - } - - Method [ public method dump ] { - - - Parameters [1] { - Parameter #0 [ $key ] - } - } - - Method [ public method renameKey ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $newkey ] - } - } - - Method [ public method rename ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $newkey ] - } - } - - Method [ public method renameNx ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $newkey ] - } - } - - Method [ public method rpoplpush ] { - - - Parameters [2] { - Parameter #0 [ $src ] - Parameter #1 [ $dst ] - } - } - - Method [ public method randomKey ] { - - - Parameters [0] { - } - } - - Method [ public method pfadd ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $elements ] - } - } - - Method [ public method pfcount ] { - - - Parameters [1] { - Parameter #0 [ $key ] - } - } - - Method [ public method pfmerge ] { - - - Parameters [2] { - Parameter #0 [ $dstkey ] - Parameter #1 [ $keys ] - } - } - - Method [ public method ping ] { - - - Parameters [0] { - } - } - - Method [ public method auth ] { - - - Parameters [1] { - Parameter #0 [ $password ] - } - } - - Method [ public method unwatch ] { - - - Parameters [0] { - } - } - - Method [ public method watch ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $other_keys = ] - } - } - - Method [ public method save ] { - - - Parameters [0] { - } - } - - Method [ public method bgSave ] { - - - Parameters [0] { - } - } - - Method [ public method lastSave ] { - - - Parameters [0] { - } - } - - Method [ public method flushDB ] { - - - Parameters [0] { - } - } - - Method [ public method flushAll ] { - - - Parameters [0] { - } - } - - Method [ public method dbSize ] { - - - Parameters [0] { - } - } - - Method [ public method bgrewriteaof ] { - - - Parameters [0] { - } - } - - Method [ public method time ] { - - - Parameters [0] { - } - } - - Method [ public method role ] { - - - Parameters [0] { - } - } - - Method [ public method setRange ] { - - - Parameters [3] { - Parameter #0 [ $key ] - Parameter #1 [ $offset ] - Parameter #2 [ $value ] - } - } - - Method [ public method setNx ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $value ] - } - } - - Method [ public method getSet ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $value ] - } - } - - Method [ public method append ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $value ] - } - } - - Method [ public method lPushx ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $value ] - } - } - - Method [ public method lPush ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $value ] - } - } - - Method [ public method rPush ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $value ] - } - } - - Method [ public method rPushx ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $value ] - } - } - - Method [ public method sContains ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $value ] - } - } - - Method [ public method sismember ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $value ] - } - } - - Method [ public method zScore ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $member ] - } - } - - Method [ public method zRank ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $member ] - } - } - - Method [ public method zRevRank ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $member ] - } - } - - Method [ public method hGet ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $member ] - } - } - - Method [ public method hMGet ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $keys ] - } - } - - Method [ public method hExists ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $member ] - } - } - - Method [ public method publish ] { - - - Parameters [2] { - Parameter #0 [ $channel ] - Parameter #1 [ $message ] - } - } - - Method [ public method zIncrBy ] { - - - Parameters [3] { - Parameter #0 [ $key ] - Parameter #1 [ $value ] - Parameter #2 [ $member ] - } - } - - Method [ public method zAdd ] { - - - Parameters [3] { - Parameter #0 [ $key ] - Parameter #1 [ $score ] - Parameter #2 [ $value ] - } - } - - Method [ public method zPopMin ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $count ] - } - } - - Method [ public method zPopMax ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $count ] - } - } - - Method [ public method bzPopMin ] { - - - Parameters [3] { - Parameter #0 [ $key ] - Parameter #1 [ $timeout_or_key ] - Parameter #2 [ $extra_args = ] - } - } - - Method [ public method bzPopMax ] { - - - Parameters [3] { - Parameter #0 [ $key ] - Parameter #1 [ $timeout_or_key ] - Parameter #2 [ $extra_args = ] - } - } - - Method [ public method zDeleteRangeByScore ] { - - - Parameters [3] { - Parameter #0 [ $key ] - Parameter #1 [ $min ] - Parameter #2 [ $max ] - } - } - - Method [ public method zRemRangeByScore ] { - - - Parameters [3] { - Parameter #0 [ $key ] - Parameter #1 [ $min ] - Parameter #2 [ $max ] - } - } - - Method [ public method zCount ] { - - - Parameters [3] { - Parameter #0 [ $key ] - Parameter #1 [ $min ] - Parameter #2 [ $max ] - } - } - - Method [ public method zRange ] { - - - Parameters [4] { - Parameter #0 [ $key ] - Parameter #1 [ $start ] - Parameter #2 [ $end ] - Parameter #3 [ $scores = ] - } - } - - Method [ public method zRevRange ] { - - - Parameters [4] { - Parameter #0 [ $key ] - Parameter #1 [ $start ] - Parameter #2 [ $end ] - Parameter #3 [ $scores = ] - } - } - - Method [ public method zRangeByScore ] { - - - Parameters [4] { - Parameter #0 [ $key ] - Parameter #1 [ $start ] - Parameter #2 [ $end ] - Parameter #3 [ $options = ] - } - } - - Method [ public method zRevRangeByScore ] { - - - Parameters [4] { - Parameter #0 [ $key ] - Parameter #1 [ $start ] - Parameter #2 [ $end ] - Parameter #3 [ $options = ] - } - } - - Method [ public method zRangeByLex ] { - - - Parameters [5] { - Parameter #0 [ $key ] - Parameter #1 [ $min ] - Parameter #2 [ $max ] - Parameter #3 [ $offset = ] - Parameter #4 [ $limit = ] - } - } - - Method [ public method zRevRangeByLex ] { - - - Parameters [5] { - Parameter #0 [ $key ] - Parameter #1 [ $min ] - Parameter #2 [ $max ] - Parameter #3 [ $offset = ] - Parameter #4 [ $limit = ] - } - } - - Method [ public method zInter ] { - - - Parameters [4] { - Parameter #0 [ $key ] - Parameter #1 [ $keys ] - Parameter #2 [ $weights = ] - Parameter #3 [ $aggregate = ] - } - } - - Method [ public method zinterstore ] { - - - Parameters [4] { - Parameter #0 [ $key ] - Parameter #1 [ $keys ] - Parameter #2 [ $weights = ] - Parameter #3 [ $aggregate = ] - } - } - - Method [ public method zUnion ] { - - - Parameters [4] { - Parameter #0 [ $key ] - Parameter #1 [ $keys ] - Parameter #2 [ $weights = ] - Parameter #3 [ $aggregate = ] - } - } - - Method [ public method zunionstore ] { - - - Parameters [4] { - Parameter #0 [ $key ] - Parameter #1 [ $keys ] - Parameter #2 [ $weights = ] - Parameter #3 [ $aggregate = ] - } - } - - Method [ public method incrBy ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $value ] - } - } - - Method [ public method hIncrBy ] { - - - Parameters [3] { - Parameter #0 [ $key ] - Parameter #1 [ $member ] - Parameter #2 [ $value ] - } - } - - Method [ public method incr ] { - - - Parameters [1] { - Parameter #0 [ $key ] - } - } - - Method [ public method decrBy ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $value ] - } - } - - Method [ public method decr ] { - - - Parameters [1] { - Parameter #0 [ $key ] - } - } - - Method [ public method getBit ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $offset ] - } - } - - Method [ public method lInsert ] { - - - Parameters [4] { - Parameter #0 [ $key ] - Parameter #1 [ $position ] - Parameter #2 [ $pivot ] - Parameter #3 [ $value ] - } - } - - Method [ public method lGet ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $index ] - } - } - - Method [ public method lIndex ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $integer ] - } - } - - Method [ public method setTimeout ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $timeout ] - } - } - - Method [ public method expire ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $integer ] - } - } - - Method [ public method pexpire ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $timestamp ] - } - } - - Method [ public method expireAt ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $timestamp ] - } - } - - Method [ public method pexpireAt ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $timestamp ] - } - } - - Method [ public method move ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $dbindex ] - } - } - - Method [ public method select ] { - - - Parameters [1] { - Parameter #0 [ $dbindex ] - } - } - - Method [ public method getRange ] { - - - Parameters [3] { - Parameter #0 [ $key ] - Parameter #1 [ $start ] - Parameter #2 [ $end ] - } - } - - Method [ public method listTrim ] { - - - Parameters [3] { - Parameter #0 [ $key ] - Parameter #1 [ $start ] - Parameter #2 [ $stop ] - } - } - - Method [ public method ltrim ] { - - - Parameters [3] { - Parameter #0 [ $key ] - Parameter #1 [ $start ] - Parameter #2 [ $stop ] - } - } - - Method [ public method lGetRange ] { - - - Parameters [3] { - Parameter #0 [ $key ] - Parameter #1 [ $start ] - Parameter #2 [ $end ] - } - } - - Method [ public method lRange ] { - - - Parameters [3] { - Parameter #0 [ $key ] - Parameter #1 [ $start ] - Parameter #2 [ $end ] - } - } - - Method [ public method lRem ] { - - - Parameters [3] { - Parameter #0 [ $key ] - Parameter #1 [ $value ] - Parameter #2 [ $count ] - } - } - - Method [ public method lRemove ] { - - - Parameters [3] { - Parameter #0 [ $key ] - Parameter #1 [ $value ] - Parameter #2 [ $count ] - } - } - - Method [ public method zDeleteRangeByRank ] { - - - Parameters [3] { - Parameter #0 [ $key ] - Parameter #1 [ $start ] - Parameter #2 [ $end ] - } - } - - Method [ public method zRemRangeByRank ] { - - - Parameters [3] { - Parameter #0 [ $key ] - Parameter #1 [ $min ] - Parameter #2 [ $max ] - } - } - - Method [ public method incrByFloat ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $value ] - } - } - - Method [ public method hIncrByFloat ] { - - - Parameters [3] { - Parameter #0 [ $key ] - Parameter #1 [ $member ] - Parameter #2 [ $value ] - } - } - - Method [ public method bitCount ] { - - - Parameters [1] { - Parameter #0 [ $key ] - } - } - - Method [ public method bitOp ] { - - - Parameters [4] { - Parameter #0 [ $operation ] - Parameter #1 [ $ret_key ] - Parameter #2 [ $key ] - Parameter #3 [ $other_keys = ] - } - } - - Method [ public method sAdd ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $value ] - } - } - - Method [ public method sMove ] { - - - Parameters [3] { - Parameter #0 [ $src ] - Parameter #1 [ $dst ] - Parameter #2 [ $value ] - } - } - - Method [ public method sDiff ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $other_keys = ] - } - } - - Method [ public method sDiffStore ] { - - - Parameters [3] { - Parameter #0 [ $dst ] - Parameter #1 [ $key ] - Parameter #2 [ $other_keys = ] - } - } - - Method [ public method sUnion ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $other_keys = ] - } - } - - Method [ public method sUnionStore ] { - - - Parameters [3] { - Parameter #0 [ $dst ] - Parameter #1 [ $key ] - Parameter #2 [ $other_keys = ] - } - } - - Method [ public method sInter ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $other_keys = ] - } - } - - Method [ public method sInterStore ] { - - - Parameters [3] { - Parameter #0 [ $dst ] - Parameter #1 [ $key ] - Parameter #2 [ $other_keys = ] - } - } - - Method [ public method sRemove ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $value ] - } - } - - Method [ public method srem ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $value ] - } - } - - Method [ public method zDelete ] { - - - Parameters [3] { - Parameter #0 [ $key ] - Parameter #1 [ $member ] - Parameter #2 [ $other_members = ] - } - } - - Method [ public method zRemove ] { - - - Parameters [3] { - Parameter #0 [ $key ] - Parameter #1 [ $member ] - Parameter #2 [ $other_members = ] - } - } - - Method [ public method zRem ] { - - - Parameters [3] { - Parameter #0 [ $key ] - Parameter #1 [ $member ] - Parameter #2 [ $other_members = ] - } - } - - Method [ public method pSubscribe ] { - - - Parameters [1] { - Parameter #0 [ $patterns ] - } - } - - Method [ public method subscribe ] { - - - Parameters [1] { - Parameter #0 [ $channels ] - } - } - - Method [ public method unsubscribe ] { - - - Parameters [1] { - Parameter #0 [ $channels ] - } - } - - Method [ public method pUnSubscribe ] { - - - Parameters [1] { - Parameter #0 [ $patterns ] - } - } - - Method [ public method multi ] { - - - Parameters [0] { - } - } - - Method [ public method exec ] { - - - Parameters [0] { - } - } - - Method [ public method eval ] { - - - Parameters [3] { - Parameter #0 [ $script ] - Parameter #1 [ $args = ] - Parameter #2 [ $num_keys = ] - } - } - - Method [ public method evalSha ] { - - - Parameters [3] { - Parameter #0 [ $script_sha ] - Parameter #1 [ $args = ] - Parameter #2 [ $num_keys = ] - } - } - - Method [ public method script ] { - - - Parameters [2] { - Parameter #0 [ $cmd ] - Parameter #1 [ $args = ] - } - } - - Method [ public method xLen ] { - - - Parameters [1] { - Parameter #0 [ $key ] - } - } - - Method [ public method xAdd ] { - - - Parameters [4] { - Parameter #0 [ $key ] - Parameter #1 [ $id ] - Parameter #2 [ $pairs ] - Parameter #3 [ $options = ] - } - } - - Method [ public method xRead ] { - - - Parameters [2] { - Parameter #0 [ $streams ] - Parameter #1 [ $options = ] - } - } - - Method [ public method xDel ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $id ] - } - } - - Method [ public method xRange ] { - - - Parameters [4] { - Parameter #0 [ $key ] - Parameter #1 [ $start ] - Parameter #2 [ $end ] - Parameter #3 [ $count = ] - } - } - - Method [ public method xRevRange ] { - - - Parameters [4] { - Parameter #0 [ $key ] - Parameter #1 [ $start ] - Parameter #2 [ $end ] - Parameter #3 [ $count = ] - } - } - - Method [ public method xTrim ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $options = ] - } - } - - Method [ public method xGroupCreate ] { - - - Parameters [4] { - Parameter #0 [ $key ] - Parameter #1 [ $group_name ] - Parameter #2 [ $id ] - Parameter #3 [ $mkstream = ] - } - } - - Method [ public method xGroupSetId ] { - - - Parameters [3] { - Parameter #0 [ $key ] - Parameter #1 [ $group_name ] - Parameter #2 [ $id ] - } - } - - Method [ public method xGroupDestroy ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $group_name ] - } - } - - Method [ public method xGroupCreateConsumer ] { - - - Parameters [3] { - Parameter #0 [ $key ] - Parameter #1 [ $group_name ] - Parameter #2 [ $consumer_name ] - } - } - - Method [ public method xGroupDelConsumer ] { - - - Parameters [3] { - Parameter #0 [ $key ] - Parameter #1 [ $group_name ] - Parameter #2 [ $consumer_name ] - } - } - - Method [ public method xReadGroup ] { - - - Parameters [4] { - Parameter #0 [ $group_name ] - Parameter #1 [ $consumer_name ] - Parameter #2 [ $streams ] - Parameter #3 [ $options = ] - } - } - - Method [ public method xPending ] { - - - Parameters [3] { - Parameter #0 [ $key ] - Parameter #1 [ $group_name ] - Parameter #2 [ $options = ] - } - } - - Method [ public method xAck ] { - - - Parameters [3] { - Parameter #0 [ $key ] - Parameter #1 [ $group_name ] - Parameter #2 [ $id ] - } - } - - Method [ public method xClaim ] { - - - Parameters [6] { - Parameter #0 [ $key ] - Parameter #1 [ $group_name ] - Parameter #2 [ $consumer_name ] - Parameter #3 [ $min_idle_time ] - Parameter #4 [ $id ] - Parameter #5 [ $options = ] - } - } - - Method [ public method xAutoClaim ] { - - - Parameters [6] { - Parameter #0 [ $key ] - Parameter #1 [ $group_name ] - Parameter #2 [ $consumer_name ] - Parameter #3 [ $min_idle_time ] - Parameter #4 [ $start ] - Parameter #5 [ $options = ] - } - } - - Method [ public method xInfoConsumers ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $group_name ] - } - } - - Method [ public method xInfoGroups ] { - - - Parameters [1] { - Parameter #0 [ $key ] - } - } - - Method [ public method xInfoStream ] { - - - Parameters [1] { - Parameter #0 [ $key ] - } - } - } - } - - Class [ class Swoole\Server ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [29] { - Property [ private $onStart = NULL ] - Property [ private $onBeforeShutdown = NULL ] - Property [ private $onShutdown = NULL ] - Property [ private $onWorkerStart = NULL ] - Property [ private $onWorkerStop = NULL ] - Property [ private $onBeforeReload = NULL ] - Property [ private $onAfterReload = NULL ] - Property [ private $onWorkerExit = NULL ] - Property [ private $onWorkerError = NULL ] - Property [ private $onTask = NULL ] - Property [ private $onFinish = NULL ] - Property [ private $onManagerStart = NULL ] - Property [ private $onManagerStop = NULL ] - Property [ private $onPipeMessage = NULL ] - Property [ public $setting = NULL ] - Property [ public $connections = NULL ] - Property [ public $host = '' ] - Property [ public $port = 0 ] - Property [ public $type = 0 ] - Property [ public $ssl = false ] - Property [ public $mode = 0 ] - Property [ public $ports = NULL ] - Property [ public $master_pid = 0 ] - Property [ public $manager_pid = 0 ] - Property [ public $worker_id = -1 ] - Property [ public $taskworker = false ] - Property [ public $worker_pid = 0 ] - Property [ public $stats_timer = NULL ] - Property [ public $admin_server = NULL ] - } - - - Methods [45] { - Method [ public method __construct ] { - - - Parameters [4] { - Parameter #0 [ string $host = '0.0.0.0' ] - Parameter #1 [ int $port = 0 ] - Parameter #2 [ int $mode = SWOOLE_BASE ] - Parameter #3 [ int $sock_type = SWOOLE_SOCK_TCP ] - } - } - - Method [ public method __destruct ] { - - - Parameters [0] { - } - } - - Method [ public method listen ] { - - - Parameters [3] { - Parameter #0 [ string $host ] - Parameter #1 [ int $port ] - Parameter #2 [ int $sock_type ] - } - - Return [ Swoole\Server\Port|false ] - } - - Method [ public method addlistener ] { - - - Parameters [3] { - Parameter #0 [ string $host ] - Parameter #1 [ int $port ] - Parameter #2 [ int $sock_type ] - } - - Return [ Swoole\Server\Port|false ] - } - - Method [ public method on ] { - - - Parameters [2] { - Parameter #0 [ string $event_name ] - Parameter #1 [ callable $callback ] - } - - Return [ bool ] - } - - Method [ public method getCallback ] { - - - Parameters [1] { - Parameter #0 [ string $event_name ] - } - - Return [ Closure|array|string|null ] - } - - Method [ public method set ] { - - - Parameters [1] { - Parameter #0 [ array $settings ] - } - - Return [ bool ] - } - - Method [ public method start ] { - - - Parameters [0] { - } - - Return [ bool ] - } - - Method [ public method send ] { - - - Parameters [3] { - Parameter #0 [ string|int $fd ] - Parameter #1 [ string $send_data ] - Parameter #2 [ int $serverSocket = -1 ] - } - - Return [ bool ] - } - - Method [ public method sendto ] { - - - Parameters [4] { - Parameter #0 [ string $ip ] - Parameter #1 [ int $port ] - Parameter #2 [ string $send_data ] - Parameter #3 [ int $server_socket = -1 ] - } - - Return [ bool ] - } - - Method [ public method sendwait ] { - - - Parameters [2] { - Parameter #0 [ int $conn_fd ] - Parameter #1 [ string $send_data ] - } - - Return [ bool ] - } - - Method [ public method exists ] { - - - Parameters [1] { - Parameter #0 [ int $fd ] - } - - Return [ bool ] - } - - Method [ public method exist ] { - - - Parameters [1] { - Parameter #0 [ int $fd ] - } - - Return [ bool ] - } - - Method [ public method protect ] { - - - Parameters [2] { - Parameter #0 [ int $fd ] - Parameter #1 [ bool $is_protected = true ] - } - - Return [ bool ] - } - - Method [ public method sendfile ] { - - - Parameters [4] { - Parameter #0 [ int $conn_fd ] - Parameter #1 [ string $filename ] - Parameter #2 [ int $offset = 0 ] - Parameter #3 [ int $length = 0 ] - } - - Return [ bool ] - } - - Method [ public method close ] { - - - Parameters [2] { - Parameter #0 [ int $fd ] - Parameter #1 [ bool $reset = false ] - } - - Return [ bool ] - } - - Method [ public method confirm ] { - - - Parameters [1] { - Parameter #0 [ int $fd ] - } - - Return [ bool ] - } - - Method [ public method pause ] { - - - Parameters [1] { - Parameter #0 [ int $fd ] - } - - Return [ bool ] - } - - Method [ public method resume ] { - - - Parameters [1] { - Parameter #0 [ int $fd ] - } - - Return [ bool ] - } - - Method [ public method task ] { - - - Parameters [3] { - Parameter #0 [ mixed $data ] - Parameter #1 [ int $taskWorkerIndex = -1 ] - Parameter #2 [ ?callable $finishCallback = null ] - } - - Return [ int|false ] - } - - Method [ public method taskwait ] { - - - Parameters [3] { - Parameter #0 [ mixed $data ] - Parameter #1 [ float $timeout = 0.5 ] - Parameter #2 [ int $taskWorkerIndex = -1 ] - } - - Return [ mixed ] - } - - Method [ public method taskWaitMulti ] { - - - Parameters [2] { - Parameter #0 [ array $tasks ] - Parameter #1 [ float $timeout = 0.5 ] - } - - Return [ array|false ] - } - - Method [ public method taskCo ] { - - - Parameters [2] { - Parameter #0 [ array $tasks ] - Parameter #1 [ float $timeout = 0.5 ] - } - - Return [ array|false ] - } - - Method [ public method finish ] { - - - Parameters [1] { - Parameter #0 [ mixed $data ] - } - - Return [ bool ] - } - - Method [ public method reload ] { - - - Parameters [1] { - Parameter #0 [ bool $only_reload_taskworker = false ] - } - - Return [ bool ] - } - - Method [ public method shutdown ] { - - - Parameters [0] { - } - - Return [ bool ] - } - - Method [ public method stop ] { - - - Parameters [2] { - Parameter #0 [ int $workerId = -1 ] - Parameter #1 [ bool $waitEvent = false ] - } - - Return [ bool ] - } - - Method [ public method getLastError ] { - - - Parameters [0] { - } - - Return [ int ] + - Return [ int ] } Method [ public method heartbeat ] { @@ -9640,216 +7796,6 @@ Extension [ extension #94 swoole version 5.1.3 ] { } } } - - Class [ class Swoole\Coroutine\PostgreSQL ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [5] { - Property [ public $error = NULL ] - Property [ public $errCode = 0 ] - Property [ public $resultStatus = 0 ] - Property [ public $resultDiag = NULL ] - Property [ public $notices = NULL ] - } - - - Methods [12] { - Method [ public method __construct ] { - - - Parameters [0] { - } - } - - Method [ public method connect ] { - - - Parameters [2] { - Parameter #0 [ string $conninfo ] - Parameter #1 [ float $timeout = 2 ] - } - - Return [ bool ] - } - - Method [ public method query ] { - - - Parameters [1] { - Parameter #0 [ string $query ] - } - - Return [ Swoole\Coroutine\PostgreSQLStatement|false ] - } - - Method [ public method prepare ] { - - - Parameters [1] { - Parameter #0 [ string $query ] - } - - Return [ Swoole\Coroutine\PostgreSQLStatement|false ] - } - - Method [ public method metaData ] { - - - Parameters [1] { - Parameter #0 [ string $table_name ] - } - - Return [ array|false ] - } - - Method [ public method escape ] { - - - Parameters [1] { - Parameter #0 [ string $string ] - } - - Return [ string|false ] - } - - Method [ public method escapeLiteral ] { - - - Parameters [1] { - Parameter #0 [ string $string ] - } - - Return [ string|false ] - } - - Method [ public method escapeIdentifier ] { - - - Parameters [1] { - Parameter #0 [ string $string ] - } - - Return [ string|false ] - } - - Method [ public method createLOB ] { - - - Parameters [0] { - } - - Return [ int|false ] - } - - Method [ public method openLOB ] { - - - Parameters [2] { - Parameter #0 [ int $oid ] - Parameter #1 [ string $mode = "rb" ] - } - } - - Method [ public method unlinkLOB ] { - - - Parameters [1] { - Parameter #0 [ int $oid ] - } - - Return [ bool ] - } - - Method [ public method __destruct ] { - - - Parameters [0] { - } - } - } - } - - Class [ class Swoole\Coroutine\PostgreSQLStatement ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [5] { - Property [ public $error = NULL ] - Property [ public $errCode = 0 ] - Property [ public $resultStatus = 0 ] - Property [ public $resultDiag = NULL ] - Property [ public $notices = NULL ] - } - - - Methods [9] { - Method [ public method execute ] { - - - Parameters [1] { - Parameter #0 [ array $params = [] ] - } - - Return [ bool ] - } - - Method [ public method fetchAll ] { - - - Parameters [1] { - Parameter #0 [ int $result_type = SW_PGSQL_ASSOC ] - } - - Return [ array|false ] - } - - Method [ public method affectedRows ] { - - - Parameters [0] { - } - - Return [ int|false ] - } - - Method [ public method numRows ] { - - - Parameters [0] { - } - - Return [ int|false ] - } - - Method [ public method fieldCount ] { - - - Parameters [0] { - } - - Return [ int|false ] - } - - Method [ public method fetchObject ] { - - - Parameters [3] { - Parameter #0 [ ?int $row = 0 ] - Parameter #1 [ ?string $class_name = null ] - Parameter #2 [ array $ctor_params = [] ] - } - - Return [ object|false ] - } - - Method [ public method fetchAssoc ] { - - - Parameters [2] { - Parameter #0 [ ?int $row = 0 ] - Parameter #1 [ int $result_type = SW_PGSQL_ASSOC ] - } - - Return [ array|false ] - } - - Method [ public method fetchArray ] { - - - Parameters [2] { - Parameter #0 [ ?int $row = 0 ] - Parameter #1 [ int $result_type = SW_PGSQL_BOTH ] - } - - Return [ array|false ] - } - - Method [ public method fetchRow ] { - - - Parameters [2] { - Parameter #0 [ ?int $row = 0 ] - Parameter #1 [ int $result_type = SW_PGSQL_NUM ] - } - - Return [ array|false ] - } - } - } } } -- cgit