summaryrefslogtreecommitdiffstats
path: root/REFLECTION
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-03-07 10:29:58 +0100
committerRemi Collet <remi@remirepo.net>2019-03-07 10:29:58 +0100
commit93e97fc4807a7d717b0cea642cc73bae7b1a773c (patch)
tree7961df3ef1db89090ca78218465eae7498ad21bb /REFLECTION
parent373e518682623e9c729ad62161540c64c3aa2690 (diff)
update to 4.3.0
drop dependencies on libnghttp2 and c-ares open https://github.com/swoole/swoole-src/issues/2411 32-bit broken remove the --enable-trace-log build option on 32-bit
Diffstat (limited to 'REFLECTION')
-rw-r--r--REFLECTION1202
1 files changed, 293 insertions, 909 deletions
diff --git a/REFLECTION b/REFLECTION
index 2188ff3..278d8e1 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
+Extension [ <persistent> extension #153 swoole version 4.3.0 ] {
- INI {
Entry [ swoole.enable_coroutine <ALL> ]
@@ -10,20 +10,17 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
Entry [ swoole.use_shortname <SYSTEM> ]
Current = 'On'
}
- Entry [ swoole.fast_serialize <ALL> ]
- Current = 'Off'
- }
Entry [ swoole.unixsock_buffer_size <ALL> ]
Current = '8388608'
}
}
- - Constants [257] {
- Constant [ string SWOOLE_VERSION ] { 4.2.13 }
- Constant [ integer SWOOLE_VERSION_ID ] { 40213 }
+ - Constants [256] {
+ Constant [ string SWOOLE_VERSION ] { 4.3.0 }
+ Constant [ integer SWOOLE_VERSION_ID ] { 40300 }
Constant [ integer SWOOLE_MAJOR_VERSION ] { 4 }
- Constant [ integer SWOOLE_MINOR_VERSION ] { 2 }
- Constant [ integer SWOOLE_RELEASE_VERSION ] { 13 }
+ Constant [ integer SWOOLE_MINOR_VERSION ] { 3 }
+ Constant [ integer SWOOLE_RELEASE_VERSION ] { 0 }
Constant [ string SWOOLE_EXTRA_VERSION ] { }
Constant [ boolean SWOOLE_DEBUG ] { }
Constant [ integer SWOOLE_BASE ] { 1 }
@@ -159,7 +156,7 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
Constant [ integer SWOOLE_TRACE_LENGTH_PROTOCOL ] { 4096 }
Constant [ integer SWOOLE_TRACE_CLOSE ] { 8192 }
Constant [ integer SWOOLE_TRACE_HTTP_CLIENT ] { 16384 }
- Constant [ integer SWOOLE_TRACE_COROUTINE ] { 32768 }
+ Constant [ integer SWOOLE_TRACE_COROUTINE ] { 16777216 }
Constant [ integer SWOOLE_TRACE_REDIS_CLIENT ] { 65536 }
Constant [ integer SWOOLE_TRACE_MYSQL_CLIENT ] { 131072 }
Constant [ integer SWOOLE_TRACE_AIO ] { 262144 }
@@ -202,7 +199,6 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
Constant [ integer SWOOLE_HTTP_CLIENT_ESTATUS_SERVER_RESET ] { -3 }
Constant [ integer SWOOLE_DEFAULT_MAX_CORO_NUM ] { 3000 }
Constant [ integer SWOOLE_MAX_CORO_NUM_LIMIT ] { 9223372036854775807 }
- Constant [ integer SWOOLE_MAX_CORO_NESTING_LEVEL ] { 128 }
Constant [ integer SWOOLE_CORO_INIT ] { 0 }
Constant [ integer SWOOLE_CORO_WAITING ] { 1 }
Constant [ integer SWOOLE_CORO_RUNNING ] { 2 }
@@ -298,8 +294,8 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
- Parameters [4] {
Parameter #0 [ <required> $fd ]
- Parameter #1 [ <required> $read_callback ]
- Parameter #2 [ <optional> $write_callback ]
+ Parameter #1 [ <required> callable or NULL $read_callback ]
+ Parameter #2 [ <optional> callable or NULL $write_callback ]
Parameter #3 [ <optional> $events ]
}
}
@@ -307,8 +303,8 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
- Parameters [4] {
Parameter #0 [ <required> $fd ]
- Parameter #1 [ <optional> $read_callback ]
- Parameter #2 [ <optional> $write_callback ]
+ Parameter #1 [ <optional> callable or NULL $read_callback ]
+ Parameter #2 [ <optional> callable or NULL $write_callback ]
Parameter #3 [ <optional> $events ]
}
}
@@ -338,13 +334,13 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
Function [ <internal:swoole> function swoole_event_defer ] {
- Parameters [1] {
- Parameter #0 [ <required> $callback ]
+ Parameter #0 [ <required> callable $callback ]
}
}
Function [ <internal:swoole> function swoole_event_cycle ] {
- Parameters [2] {
- Parameter #0 [ <required> $callback ]
+ Parameter #0 [ <required> callable or NULL $callback ]
Parameter #1 [ <optional> $before ]
}
}
@@ -364,7 +360,7 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
- Parameters [3] {
Parameter #0 [ <required> $ms ]
- Parameter #1 [ <required> $callback ]
+ Parameter #1 [ <required> callable $callback ]
Parameter #2 [ <optional> ...$params ]
}
}
@@ -372,7 +368,7 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
- Parameters [3] {
Parameter #0 [ <required> $ms ]
- Parameter #1 [ <required> $callback ]
+ Parameter #1 [ <required> callable $callback ]
Parameter #2 [ <optional> ...$params ]
}
}
@@ -388,53 +384,6 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
Parameter #0 [ <required> $timer_id ]
}
}
- Function [ <internal:swoole> function swoole_async_set ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> array $settings ]
- }
- }
- Function [ <internal:swoole> function swoole_async_read ] {
-
- - Parameters [4] {
- Parameter #0 [ <required> $filename ]
- Parameter #1 [ <required> $callback ]
- Parameter #2 [ <optional> $chunk_size ]
- Parameter #3 [ <optional> $offset ]
- }
- }
- Function [ <internal:swoole> function swoole_async_write ] {
-
- - Parameters [4] {
- Parameter #0 [ <required> $filename ]
- Parameter #1 [ <required> $content ]
- Parameter #2 [ <optional> $offset ]
- Parameter #3 [ <optional> $callback ]
- }
- }
- Function [ <internal:swoole> function swoole_async_readfile ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $filename ]
- Parameter #1 [ <required> $callback ]
- }
- }
- Function [ <internal:swoole> function swoole_async_writefile ] {
-
- - Parameters [4] {
- Parameter #0 [ <required> $filename ]
- Parameter #1 [ <required> $content ]
- Parameter #2 [ <optional> $callback ]
- Parameter #3 [ <optional> $flags ]
- }
- }
- Function [ <internal:swoole> function swoole_async_dns_lookup ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $hostname ]
- Parameter #1 [ <required> $callback ]
- }
- }
Function [ <internal:swoole> function swoole_async_dns_lookup_coro ] {
- Parameters [2] {
@@ -442,10 +391,17 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
Parameter #1 [ <optional> $timeout ]
}
}
- Function [ <internal:swoole> function swoole_coroutine_create ] {
+ Function [ <internal:swoole> function swoole_async_set ] {
- Parameters [1] {
- Parameter #0 [ <required> $func ]
+ Parameter #0 [ <required> array $settings ]
+ }
+ }
+ Function [ <internal:swoole> function swoole_coroutine_create ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> callable $func ]
+ Parameter #1 [ <optional> ...$params ]
}
}
Function [ <internal:swoole> function swoole_coroutine_exec ] {
@@ -457,19 +413,20 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
Function [ <internal:swoole> function swoole_coroutine_defer ] {
- Parameters [1] {
- Parameter #0 [ <required> $callback ]
+ Parameter #0 [ <required> callable $callback ]
}
}
Function [ <internal:swoole> function go ] {
- - Parameters [1] {
- Parameter #0 [ <required> $func ]
+ - Parameters [2] {
+ Parameter #0 [ <required> callable $func ]
+ Parameter #1 [ <optional> ...$params ]
}
}
Function [ <internal:swoole> function defer ] {
- Parameters [1] {
- Parameter #0 [ <required> $callback ]
+ Parameter #0 [ <required> callable $callback ]
}
}
Function [ <internal:swoole> function swoole_client_select ] {
@@ -531,19 +488,19 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
Parameter #0 [ <required> $filename ]
}
}
- Function [ <internal:swoole> function swoole_call_user_shutdown_begin ] {
+ Function [ <internal:swoole> function swoole_clear_dns_cache ] {
- Parameters [0] {
}
}
- Function [ <internal:swoole> function swoole_clear_dns_cache ] {
+ Function [ <internal:swoole> function swoole_internal_call_user_shutdown_begin ] {
- Parameters [0] {
}
}
}
- - Classes [52] {
+ - Classes [42] {
Class [ <internal:swoole> class Swoole\Timer ] {
- Constants [0] {
@@ -557,7 +514,7 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
- Parameters [3] {
Parameter #0 [ <required> $ms ]
- Parameter #1 [ <required> $callback ]
+ Parameter #1 [ <required> callable $callback ]
Parameter #2 [ <optional> ...$params ]
}
}
@@ -566,7 +523,7 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
- Parameters [3] {
Parameter #0 [ <required> $ms ]
- Parameter #1 [ <required> $callback ]
+ Parameter #1 [ <required> callable $callback ]
Parameter #2 [ <optional> ...$params ]
}
}
@@ -606,8 +563,8 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
- Parameters [4] {
Parameter #0 [ <required> $fd ]
- Parameter #1 [ <required> $read_callback ]
- Parameter #2 [ <optional> $write_callback ]
+ Parameter #1 [ <required> callable or NULL $read_callback ]
+ Parameter #2 [ <optional> callable or NULL $write_callback ]
Parameter #3 [ <optional> $events ]
}
}
@@ -623,8 +580,8 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
- Parameters [4] {
Parameter #0 [ <required> $fd ]
- Parameter #1 [ <optional> $read_callback ]
- Parameter #2 [ <optional> $write_callback ]
+ Parameter #1 [ <optional> callable or NULL $read_callback ]
+ Parameter #2 [ <optional> callable or NULL $write_callback ]
Parameter #3 [ <optional> $events ]
}
}
@@ -652,14 +609,14 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
Method [ <internal:swoole> static public method defer ] {
- Parameters [1] {
- Parameter #0 [ <required> $callback ]
+ Parameter #0 [ <required> callable $callback ]
}
}
Method [ <internal:swoole> static public method cycle ] {
- Parameters [2] {
- Parameter #0 [ <required> $callback ]
+ Parameter #0 [ <required> callable or NULL $callback ]
Parameter #1 [ <optional> $before ]
}
}
@@ -672,92 +629,6 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
}
}
- Class [ <internal:swoole> class Swoole\Async ] {
-
- - Constants [0] {
- }
-
- - Static properties [0] {
- }
-
- - Static methods [8] {
- Method [ <internal:swoole> static public method read ] {
-
- - Parameters [4] {
- Parameter #0 [ <required> $filename ]
- Parameter #1 [ <required> $callback ]
- Parameter #2 [ <optional> $chunk_size ]
- Parameter #3 [ <optional> $offset ]
- }
- }
-
- Method [ <internal:swoole> static public method write ] {
-
- - Parameters [4] {
- Parameter #0 [ <required> $filename ]
- Parameter #1 [ <required> $content ]
- Parameter #2 [ <optional> $offset ]
- Parameter #3 [ <optional> $callback ]
- }
- }
-
- Method [ <internal:swoole> static public method readFile ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $filename ]
- Parameter #1 [ <required> $callback ]
- }
- }
-
- Method [ <internal:swoole> static public method writeFile ] {
-
- - Parameters [4] {
- Parameter #0 [ <required> $filename ]
- Parameter #1 [ <required> $content ]
- Parameter #2 [ <optional> $callback ]
- Parameter #3 [ <optional> $flags ]
- }
- }
-
- Method [ <internal:swoole> static public method dnsLookup ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $hostname ]
- Parameter #1 [ <required> $callback ]
- }
- }
-
- Method [ <internal:swoole> static public method dnsLookupCoro ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $domain_name ]
- Parameter #1 [ <optional> $timeout ]
- }
- }
-
- Method [ <internal:swoole> static public method set ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> array $settings ]
- }
- }
-
- Method [ <internal:swoole> static public method exec ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $command ]
- Parameter #1 [ <required> $callback ]
- }
- }
- }
-
- - Properties [0] {
- }
-
- - Methods [0] {
- }
- }
-
Class [ <internal:swoole> class Swoole\Exception extends Exception implements Throwable ] {
- Constants [0] {
@@ -827,17 +698,17 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
}
- Properties [23] {
- Property [ <default> private $onStart ]
- Property [ <default> private $onShutdown ]
- Property [ <default> private $onWorkerStart ]
- Property [ <default> private $onWorkerStop ]
- Property [ <default> private $onWorkerExit ]
- Property [ <default> private $onWorkerError ]
- Property [ <default> private $onTask ]
- Property [ <default> private $onFinish ]
- Property [ <default> private $onManagerStart ]
- Property [ <default> private $onManagerStop ]
- Property [ <default> private $onPipeMessage ]
+ Property [ <default> private $on_start ]
+ Property [ <default> private $on_shutdown ]
+ Property [ <default> private $on_workerstart ]
+ Property [ <default> private $on_workerstop ]
+ Property [ <default> private $on_workerexit ]
+ Property [ <default> private $on_workererror ]
+ Property [ <default> private $on_task ]
+ Property [ <default> private $on_finish ]
+ Property [ <default> private $on_managerstart ]
+ Property [ <default> private $on_managerstop ]
+ Property [ <default> private $on_pipemessage ]
Property [ <default> public $setting ]
Property [ <default> public $connections ]
Property [ <default> public $host ]
@@ -852,7 +723,7 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
Property [ <default> public $worker_pid ]
}
- - Methods [41] {
+ - Methods [42] {
Method [ <internal:swoole, ctor> public method __construct ] {
- Parameters [4] {
@@ -891,7 +762,14 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
- Parameters [2] {
Parameter #0 [ <required> $event_name ]
- Parameter #1 [ <required> $callback ]
+ Parameter #1 [ <required> callable $callback ]
+ }
+ }
+
+ Method [ <internal:swoole> public method getCallback ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $event_name ]
}
}
@@ -1001,7 +879,7 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
- Parameters [3] {
Parameter #0 [ <required> $data ]
Parameter #1 [ <optional> $worker_id ]
- Parameter #2 [ <optional> $finish_callback ]
+ Parameter #2 [ <optional> callable or NULL $finish_callback ]
}
}
@@ -1105,7 +983,7 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
- Parameters [3] {
Parameter #0 [ <required> $ms ]
- Parameter #1 [ <required> $callback ]
+ Parameter #1 [ <required> callable $callback ]
Parameter #2 [ <optional> $param ]
}
}
@@ -1114,7 +992,7 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
- Parameters [2] {
Parameter #0 [ <required> $ms ]
- Parameter #1 [ <required> $callback ]
+ Parameter #1 [ <required> callable $callback ]
}
}
@@ -1128,7 +1006,7 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
Method [ <internal:swoole> public method defer ] {
- Parameters [1] {
- Parameter #0 [ <required> $callback ]
+ Parameter #0 [ <required> callable $callback ]
}
}
@@ -1340,7 +1218,7 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
- Parameters [2] {
Parameter #0 [ <required> $event_name ]
- Parameter #1 [ <required> $callback ]
+ Parameter #1 [ <required> callable $callback ]
}
}
@@ -1494,7 +1372,7 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
Method [ <internal:swoole> public method enableSSL ] {
- Parameters [1] {
- Parameter #0 [ <optional> $callback ]
+ Parameter #0 [ <optional> callable $callback ]
}
}
@@ -1539,7 +1417,7 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
- Parameters [2] {
Parameter #0 [ <required> $event_name ]
- Parameter #1 [ <required> $callback ]
+ Parameter #1 [ <required> callable $callback ]
}
}
@@ -1562,11 +1440,12 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
- Static methods [0] {
}
- - Properties [1] {
+ - Properties [2] {
+ Property [ <default> public $fd ]
Property [ <default> public $errCode ]
}
- - Methods [14] {
+ - Methods [16] {
Method [ <internal:swoole, ctor> public method __construct ] {
- Parameters [3] {
@@ -1623,6 +1502,22 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
}
}
+ Method [ <internal:swoole> public method recvAll ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <optional> $length ]
+ Parameter #1 [ <optional> $timeout ]
+ }
+ }
+
+ Method [ <internal:swoole> public method sendAll ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $data ]
+ Parameter #1 [ <optional> $timeout ]
+ }
+ }
+
Method [ <internal:swoole> public method recvfrom ] {
- Parameters [2] {
@@ -1745,8 +1640,9 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
- Static methods [0] {
}
- - Properties [5] {
+ - Properties [6] {
Property [ <default> public $errCode ]
+ Property [ <default> public $errMsg ]
Property [ <default> public $sock ]
Property [ <default> public $type ]
Property [ <default> public $setting ]
@@ -3398,7 +3294,7 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
Method [ <internal:swoole> public method prepare ] {
- Parameters [2] {
- Parameter #0 [ <required> $query ]
+ Parameter #0 [ <required> $statement ]
Parameter #1 [ <optional> $timeout ]
}
}
@@ -3722,11 +3618,11 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
- Static properties [0] {
}
- - Static methods [24] {
+ - Static methods [25] {
Method [ <internal:swoole> static public method create ] {
- Parameters [2] {
- Parameter #0 [ <required> $func ]
+ Parameter #0 [ <required> callable $func ]
Parameter #1 [ <optional> ...$params ]
}
}
@@ -3811,6 +3707,13 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
}
}
+ Method [ <internal:swoole> static public method getContext ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $cid ]
+ }
+ }
+
Method [ <internal:swoole> static public method sleep ] {
- Parameters [1] {
@@ -3964,9 +3867,11 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
}
}
- Class [ <internal:swoole> class Swoole\ExitException extends Swoole\Exception implements Throwable ] {
+ Class [ <internal:swoole> <iterateable> class Swoole\Coroutine\Context extends ArrayObject implements Countable, Serializable, ArrayAccess, Traversable, IteratorAggregate ] {
- - Constants [0] {
+ - Constants [2] {
+ Constant [ public integer STD_PROP_LIST ] { 1 }
+ Constant [ public integer ARRAY_AS_PROPS ] { 2 }
}
- Static properties [0] {
@@ -3975,232 +3880,225 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
- Static methods [0] {
}
- - Properties [4] {
- Property [ <default> protected $message ]
- Property [ <default> protected $code ]
- Property [ <default> protected $file ]
- Property [ <default> protected $line ]
+ - Properties [0] {
}
- - Methods [12] {
- Method [ <internal:swoole> public method getFlags ] {
+ - Methods [22] {
+ Method [ <internal:SPL, inherits ArrayObject, ctor> public method __construct ] {
- - Parameters [0] {
+ - Parameters [3] {
+ Parameter #0 [ <optional> $input ]
+ Parameter #1 [ <optional> $flags ]
+ Parameter #2 [ <optional> $iterator_class ]
}
}
- Method [ <internal:swoole> public method getStatus ] {
+ Method [ <internal:SPL, inherits ArrayObject, prototype ArrayAccess> public method offsetExists ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <required> $index ]
}
}
- Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {
+ Method [ <internal:SPL, inherits ArrayObject, prototype ArrayAccess> public method offsetGet ] {
- - Parameters [3] {
- Parameter #0 [ <optional> $message ]
- Parameter #1 [ <optional> $code ]
- Parameter #2 [ <optional> $previous ]
+ - Parameters [1] {
+ Parameter #0 [ <required> $index ]
}
}
- Method [ <internal:Core, inherits Exception> public method __wakeup ] {
- }
+ Method [ <internal:SPL, inherits ArrayObject, prototype ArrayAccess> public method offsetSet ] {
- Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] {
+ - Parameters [2] {
+ Parameter #0 [ <required> $index ]
+ Parameter #1 [ <required> $newval ]
+ }
}
- Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] {
- }
+ Method [ <internal:SPL, inherits ArrayObject, prototype ArrayAccess> public method offsetUnset ] {
- Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] {
+ - Parameters [1] {
+ Parameter #0 [ <required> $index ]
+ }
}
- Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] {
- }
+ Method [ <internal:SPL, inherits ArrayObject> public method append ] {
- Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] {
+ - Parameters [1] {
+ Parameter #0 [ <required> $value ]
+ }
}
- Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] {
- }
+ Method [ <internal:SPL, inherits ArrayObject> public method getArrayCopy ] {
- Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] {
+ - Parameters [0] {
+ }
}
- Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] {
+ Method [ <internal:SPL, inherits ArrayObject, prototype Countable> public method count ] {
+
+ - Parameters [0] {
+ }
}
- }
- }
- Class [ <internal:swoole> class Swoole\Http\Client ] {
+ Method [ <internal:SPL, inherits ArrayObject> public method getFlags ] {
- - Constants [0] {
- }
+ - Parameters [0] {
+ }
+ }
- - Static properties [0] {
- }
+ Method [ <internal:SPL, inherits ArrayObject> public method setFlags ] {
- - Static methods [0] {
- }
-
- - Properties [20] {
- Property [ <default> public $type ]
- Property [ <default> public $errCode ]
- Property [ <default> public $errMsg ]
- Property [ <default> public $statusCode ]
- Property [ <default> public $host ]
- Property [ <default> public $port ]
- Property [ <default> public $ssl ]
- Property [ <default> public $requestMethod ]
- Property [ <default> public $requestHeaders ]
- Property [ <default> public $requestBody ]
- Property [ <default> public $uploadFiles ]
- Property [ <default> public $set_cookie_headers ]
- Property [ <default> public $downloadFile ]
- Property [ <default> public $headers ]
- Property [ <default> public $cookies ]
- Property [ <default> public $body ]
- Property [ <default> public $onConnect ]
- Property [ <default> public $onError ]
- Property [ <default> public $onMessage ]
- Property [ <default> public $onClose ]
- }
+ - Parameters [1] {
+ Parameter #0 [ <required> $flags ]
+ }
+ }
- - Methods [17] {
- Method [ <internal:swoole, ctor> public method __construct ] {
+ Method [ <internal:SPL, inherits ArrayObject> public method asort ] {
- - Parameters [3] {
- Parameter #0 [ <required> $host ]
- Parameter #1 [ <optional> $port ]
- Parameter #2 [ <optional> $ssl ]
+ - Parameters [0] {
}
}
- Method [ <internal:swoole, dtor> public method __destruct ] {
+ Method [ <internal:SPL, inherits ArrayObject> public method ksort ] {
- Parameters [0] {
}
}
- Method [ <internal:swoole> public method set ] {
+ Method [ <internal:SPL, inherits ArrayObject> public method uasort ] {
- Parameters [1] {
- Parameter #0 [ <required> array $settings ]
+ Parameter #0 [ <required> $cmp_function ]
}
}
- Method [ <internal:swoole> public method setMethod ] {
+ Method [ <internal:SPL, inherits ArrayObject> public method uksort ] {
- Parameters [1] {
- Parameter #0 [ <required> $method ]
+ Parameter #0 [ <required> $cmp_function ]
}
}
- Method [ <internal:swoole> public method setHeaders ] {
+ Method [ <internal:SPL, inherits ArrayObject> public method natsort ] {
- - Parameters [1] {
- Parameter #0 [ <required> array $headers ]
+ - Parameters [0] {
}
}
- Method [ <internal:swoole> public method setCookies ] {
+ Method [ <internal:SPL, inherits ArrayObject> public method natcasesort ] {
- - Parameters [1] {
- Parameter #0 [ <required> array $cookies ]
+ - Parameters [0] {
}
}
- Method [ <internal:swoole> public method setData ] {
+ Method [ <internal:SPL, inherits ArrayObject, prototype Serializable> public method unserialize ] {
- Parameters [1] {
- Parameter #0 [ <required> $data ]
+ Parameter #0 [ <required> $serialized ]
}
}
- Method [ <internal:swoole> public method addFile ] {
+ Method [ <internal:SPL, inherits ArrayObject, prototype Serializable> public method serialize ] {
- - Parameters [6] {
- Parameter #0 [ <required> $path ]
- Parameter #1 [ <required> $name ]
- Parameter #2 [ <optional> $type ]
- Parameter #3 [ <optional> $filename ]
- Parameter #4 [ <optional> $offset ]
- Parameter #5 [ <optional> $length ]
+ - Parameters [0] {
}
}
- Method [ <internal:swoole> public method execute ] {
+ Method [ <internal:SPL, inherits ArrayObject, prototype IteratorAggregate> public method getIterator ] {
- - Parameters [2] {
- Parameter #0 [ <required> $path ]
- Parameter #1 [ <required> $callback ]
+ - Parameters [0] {
}
}
- Method [ <internal:swoole> public method push ] {
+ Method [ <internal:SPL, inherits ArrayObject> public method exchangeArray ] {
- - Parameters [3] {
- Parameter #0 [ <required> $data ]
- Parameter #1 [ <optional> $opcode ]
- Parameter #2 [ <optional> $finish ]
+ - Parameters [1] {
+ Parameter #0 [ <required> $array ]
}
}
- Method [ <internal:swoole> public method get ] {
+ Method [ <internal:SPL, inherits ArrayObject> public method setIteratorClass ] {
- - Parameters [2] {
- Parameter #0 [ <required> $path ]
- Parameter #1 [ <required> $callback ]
+ - Parameters [1] {
+ Parameter #0 [ <required> $iteratorClass ]
}
}
- Method [ <internal:swoole> public method post ] {
+ Method [ <internal:SPL, inherits ArrayObject> public method getIteratorClass ] {
- - Parameters [3] {
- Parameter #0 [ <required> $path ]
- Parameter #1 [ <required> $data ]
- Parameter #2 [ <required> $callback ]
+ - Parameters [0] {
}
}
+ }
+ }
- Method [ <internal:swoole> public method upgrade ] {
+ Class [ <internal:swoole> class Swoole\ExitException extends Swoole\Exception implements Throwable ] {
- - Parameters [2] {
- Parameter #0 [ <required> $path ]
- Parameter #1 [ <required> $callback ]
- }
- }
+ - Constants [0] {
+ }
- Method [ <internal:swoole> public method download ] {
+ - Static properties [0] {
+ }
- - Parameters [4] {
- Parameter #0 [ <required> $path ]
- Parameter #1 [ <required> $file ]
- Parameter #2 [ <required> $callback ]
- Parameter #3 [ <optional> $offset ]
- }
- }
+ - Static methods [0] {
+ }
- Method [ <internal:swoole> public method isConnected ] {
+ - Properties [4] {
+ Property [ <default> protected $message ]
+ Property [ <default> protected $code ]
+ Property [ <default> protected $file ]
+ Property [ <default> protected $line ]
+ }
+
+ - Methods [12] {
+ Method [ <internal:swoole> public method getFlags ] {
- Parameters [0] {
}
}
- Method [ <internal:swoole> public method close ] {
+ Method [ <internal:swoole> public method getStatus ] {
- Parameters [0] {
}
}
- Method [ <internal:swoole> public method on ] {
+ Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {
- - Parameters [2] {
- Parameter #0 [ <required> $event_name ]
- Parameter #1 [ <required> $callback ]
+ - Parameters [3] {
+ Parameter #0 [ <optional> $message ]
+ Parameter #1 [ <optional> $code ]
+ Parameter #2 [ <optional> $previous ]
}
}
+
+ Method [ <internal:Core, inherits Exception> public method __wakeup ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] {
+ }
}
}
@@ -4274,11 +4172,11 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
Property [ <default> public $id ]
}
- - Methods [16] {
+ - Methods [17] {
Method [ <internal:swoole, ctor> public method __construct ] {
- Parameters [3] {
- Parameter #0 [ <required> $callback ]
+ Parameter #0 [ <required> callable $callback ]
Parameter #1 [ <optional> $redirect_stdin_and_stdout ]
Parameter #2 [ <optional> $pipe_type ]
}
@@ -4380,6 +4278,12 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
}
}
+ Method [ <internal:swoole> public method exportSocket ] {
+
+ - Parameters [0] {
+ }
+ }
+
Method [ <internal:swoole> public method name ] {
- Parameters [1] {
@@ -4423,7 +4327,7 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
- Parameters [2] {
Parameter #0 [ <required> $event_name ]
- Parameter #1 [ <required> $callback ]
+ Parameter #1 [ <required> callable $callback ]
}
}
@@ -4957,7 +4861,7 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
Property [ <default> public $setting ]
}
- - Methods [41] {
+ - Methods [42] {
Method [ <internal:swoole, inherits Swoole\Server, ctor> public method __construct ] {
- Parameters [4] {
@@ -4996,7 +4900,14 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
- Parameters [2] {
Parameter #0 [ <required> $event_name ]
- Parameter #1 [ <required> $callback ]
+ Parameter #1 [ <required> callable $callback ]
+ }
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method getCallback ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $event_name ]
}
}
@@ -5106,7 +5017,7 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
- Parameters [3] {
Parameter #0 [ <required> $data ]
Parameter #1 [ <optional> $worker_id ]
- Parameter #2 [ <optional> $finish_callback ]
+ Parameter #2 [ <optional> callable or NULL $finish_callback ]
}
}
@@ -5210,7 +5121,7 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
- Parameters [3] {
Parameter #0 [ <required> $ms ]
- Parameter #1 [ <required> $callback ]
+ Parameter #1 [ <required> callable $callback ]
Parameter #2 [ <optional> $param ]
}
}
@@ -5219,7 +5130,7 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
- Parameters [2] {
Parameter #0 [ <required> $ms ]
- Parameter #1 [ <required> $callback ]
+ Parameter #1 [ <required> callable $callback ]
}
}
@@ -5233,7 +5144,7 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
Method [ <internal:swoole, inherits Swoole\Server> public method defer ] {
- Parameters [1] {
- Parameter #0 [ <required> $callback ]
+ Parameter #0 [ <required> callable $callback ]
}
}
@@ -5300,7 +5211,7 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
}
- Methods [3] {
- Method [ <internal:swoole> public method rawcontent ] {
+ Method [ <internal:swoole> public method rawContent ] {
- Parameters [0] {
}
@@ -5344,7 +5255,7 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
Property [ <default> public $trailer ]
}
- - Methods [13] {
+ - Methods [12] {
Method [ <internal:swoole> public method initHeader ] {
- Parameters [0] {
@@ -5385,13 +5296,6 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
}
}
- Method [ <internal:swoole> public method gzip ] {
-
- - Parameters [1] {
- Parameter #0 [ <optional> $compress_level ]
- }
- }
-
Method [ <internal:swoole> public method header ] {
- Parameters [3] {
@@ -5586,7 +5490,7 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
Property [ <default> public $setting ]
}
- - Methods [44] {
+ - Methods [45] {
Method [ <internal:swoole> public method push ] {
- Parameters [4] {
@@ -5606,20 +5510,6 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
}
}
- Method [ <internal:swoole, overwrites Swoole\Server, prototype Swoole\Server> public method exists ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $fd ]
- }
- }
-
- Method [ <internal:swoole, overwrites Swoole\Server, prototype Swoole\Server> public method exist ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $fd ]
- }
- }
-
Method [ <internal:swoole> public method isEstablished ] {
- Parameters [1] {
@@ -5665,7 +5555,14 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
- Parameters [2] {
Parameter #0 [ <required> $event_name ]
- Parameter #1 [ <required> $callback ]
+ Parameter #1 [ <required> callable $callback ]
+ }
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method getCallback ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $event_name ]
}
}
@@ -5709,6 +5606,20 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
}
}
+ Method [ <internal:swoole, inherits Swoole\Server> public method exists ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $fd ]
+ }
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method exist ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $fd ]
+ }
+ }
+
Method [ <internal:swoole, inherits Swoole\Server> public method protect ] {
- Parameters [2] {
@@ -5761,7 +5672,7 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
- Parameters [3] {
Parameter #0 [ <required> $data ]
Parameter #1 [ <optional> $worker_id ]
- Parameter #2 [ <optional> $finish_callback ]
+ Parameter #2 [ <optional> callable or NULL $finish_callback ]
}
}
@@ -5865,7 +5776,7 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
- Parameters [3] {
Parameter #0 [ <required> $ms ]
- Parameter #1 [ <required> $callback ]
+ Parameter #1 [ <required> callable $callback ]
Parameter #2 [ <optional> $param ]
}
}
@@ -5874,7 +5785,7 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
- Parameters [2] {
Parameter #0 [ <required> $ms ]
- Parameter #1 [ <required> $callback ]
+ Parameter #1 [ <required> callable $callback ]
}
}
@@ -5888,7 +5799,7 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
Method [ <internal:swoole, inherits Swoole\Server> public method defer ] {
- Parameters [1] {
- Parameter #0 [ <required> $callback ]
+ Parameter #0 [ <required> callable $callback ]
}
}
@@ -6015,255 +5926,6 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
}
}
- Class [ <internal:swoole> class Swoole\MySQL ] {
-
- - Constants [6] {
- Constant [ public integer STATE_QUERY ] { 0 }
- Constant [ public integer STATE_READ_START ] { 1 }
- Constant [ public integer STATE_READ_FIELD ] { 2 }
- Constant [ public integer STATE_READ_ROW ] { 3 }
- Constant [ public integer STATE_READ_END ] { 5 }
- Constant [ public integer STATE_CLOSED ] { 6 }
- }
-
- - Static properties [0] {
- }
-
- - Static methods [0] {
- }
-
- - Properties [11] {
- Property [ <default> public $serverInfo ]
- Property [ <default> public $sock ]
- Property [ <default> public $connected ]
- Property [ <default> public $errno ]
- Property [ <default> public $connect_errno ]
- Property [ <default> public $error ]
- Property [ <default> public $connect_error ]
- Property [ <default> public $insert_id ]
- Property [ <default> public $affected_rows ]
- Property [ <default> public $onConnect ]
- Property [ <default> public $onClose ]
- }
-
- - Methods [11] {
- Method [ <internal:swoole, ctor> public method __construct ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole, dtor> public method __destruct ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole> public method connect ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> array $server_config ]
- Parameter #1 [ <required> $callback ]
- }
- }
-
- Method [ <internal:swoole> public method begin ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $callback ]
- }
- }
-
- Method [ <internal:swoole> public method commit ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $callback ]
- }
- }
-
- Method [ <internal:swoole> public method rollback ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $callback ]
- }
- }
-
- Method [ <internal:swoole> public method escape ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $string ]
- Parameter #1 [ <optional> $flags ]
- }
- }
-
- Method [ <internal:swoole> public method query ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $sql ]
- Parameter #1 [ <required> $callback ]
- }
- }
-
- Method [ <internal:swoole> public method close ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole> public method getState ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole> public method on ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $event_name ]
- Parameter #1 [ <required> $callback ]
- }
- }
- }
- }
-
- Class [ <internal:swoole> class Swoole\MySQL\Exception extends Swoole\Exception implements Throwable ] {
-
- - Constants [0] {
- }
-
- - Static properties [0] {
- }
-
- - Static methods [0] {
- }
-
- - Properties [4] {
- Property [ <default> protected $message ]
- Property [ <default> protected $code ]
- Property [ <default> protected $file ]
- Property [ <default> protected $line ]
- }
-
- - Methods [10] {
- Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {
-
- - Parameters [3] {
- Parameter #0 [ <optional> $message ]
- Parameter #1 [ <optional> $code ]
- Parameter #2 [ <optional> $previous ]
- }
- }
-
- Method [ <internal:Core, inherits Exception> public method __wakeup ] {
- }
-
- Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] {
- }
-
- Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] {
- }
-
- Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] {
- }
-
- Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] {
- }
-
- Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] {
- }
-
- Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] {
- }
-
- Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] {
- }
-
- Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] {
- }
- }
- }
-
- Class [ <internal:swoole> class Swoole\Mmap ] {
-
- - Constants [0] {
- }
-
- - Static properties [0] {
- }
-
- - Static methods [1] {
- Method [ <internal:swoole> static public method open ] {
-
- - Parameters [3] {
- Parameter #0 [ <required> $filename ]
- Parameter #1 [ <optional> $size ]
- Parameter #2 [ <optional> $offset ]
- }
- }
- }
-
- - Properties [0] {
- }
-
- - Methods [0] {
- }
- }
-
- Class [ <internal:swoole> class Swoole\Channel ] {
-
- - Constants [0] {
- }
-
- - Static properties [0] {
- }
-
- - Static methods [0] {
- }
-
- - Properties [0] {
- }
-
- - Methods [6] {
- Method [ <internal:swoole, ctor> public method __construct ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $size ]
- }
- }
-
- Method [ <internal:swoole, dtor> public method __destruct ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole> public method push ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $data ]
- }
- }
-
- Method [ <internal:swoole> public method pop ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole> public method peek ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole> public method stats ] {
-
- - Parameters [0] {
- }
- }
- }
- }
-
Class [ <internal:swoole> class Swoole\Coroutine\Channel ] {
- Constants [0] {
@@ -6335,131 +5997,6 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
}
}
- Class [ <internal:swoole> class Swoole\RingQueue ] {
-
- - Constants [0] {
- }
-
- - Static properties [0] {
- }
-
- - Static methods [0] {
- }
-
- - Properties [0] {
- }
-
- - Methods [7] {
- Method [ <internal:swoole, ctor> public method __construct ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $len ]
- }
- }
-
- Method [ <internal:swoole, dtor> public method __destruct ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole> public method push ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $data ]
- }
- }
-
- Method [ <internal:swoole> public method pop ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole> public method count ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole> public method isFull ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole> public method isEmpty ] {
-
- - Parameters [0] {
- }
- }
- }
- }
-
- Class [ <internal:swoole> class Swoole\MsgQueue ] {
-
- - Constants [0] {
- }
-
- - Static properties [0] {
- }
-
- - Static methods [0] {
- }
-
- - Properties [0] {
- }
-
- - Methods [7] {
- Method [ <internal:swoole, ctor> public method __construct ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $len ]
- }
- }
-
- Method [ <internal:swoole, dtor> public method __destruct ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole> public method push ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $data ]
- Parameter #1 [ <optional> $type ]
- }
- }
-
- Method [ <internal:swoole> public method pop ] {
-
- - Parameters [1] {
- Parameter #0 [ <optional> $type ]
- }
- }
-
- Method [ <internal:swoole> public method setBlocking ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $blocking ]
- }
- }
-
- Method [ <internal:swoole> public method stats ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole> public method destroy ] {
-
- - Parameters [0] {
- }
- }
- }
- }
-
Class [ <internal:swoole> class Swoole\Coroutine\Http2\Client ] {
- Constants [0] {
@@ -6648,171 +6185,6 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
}
}
- Class [ <internal:swoole> class Swoole\Memory\Pool ] {
-
- - Constants [5] {
- Constant [ public integer TYPE_RING ] { 1 }
- Constant [ public integer TYPE_GLOBAL ] { 2 }
- Constant [ public integer TYPE_FIXED ] { 0 }
- Constant [ public integer TYPE_MALLOC ] { 3 }
- Constant [ public integer TYPE_EMALLOC ] { 4 }
- }
-
- - Static properties [0] {
- }
-
- - Static methods [0] {
- }
-
- - Properties [0] {
- }
-
- - Methods [3] {
- Method [ <internal:swoole, ctor> public method __construct ] {
-
- - Parameters [4] {
- Parameter #0 [ <required> $size ]
- Parameter #1 [ <required> $type ]
- Parameter #2 [ <optional> $slice_size ]
- Parameter #3 [ <optional> $shared ]
- }
- }
-
- Method [ <internal:swoole, dtor> public method __destruct ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole> public method alloc ] {
-
- - Parameters [1] {
- Parameter #0 [ <optional> $size ]
- }
- }
- }
- }
-
- Class [ <internal:swoole> class Swoole\Memory\Pool\Slice ] {
-
- - Constants [0] {
- }
-
- - Static properties [0] {
- }
-
- - Static methods [0] {
- }
-
- - Properties [0] {
- }
-
- - Methods [3] {
- Method [ <internal:swoole> public method read ] {
-
- - Parameters [2] {
- Parameter #0 [ <optional> $size ]
- Parameter #1 [ <optional> $offset ]
- }
- }
-
- Method [ <internal:swoole> public method write ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $data ]
- Parameter #1 [ <optional> $offset ]
- }
- }
-
- Method [ <internal:swoole, dtor> public method __destruct ] {
-
- - Parameters [0] {
- }
- }
- }
- }
-
- Class [ <internal:swoole> class Swoole\Redis ] {
-
- - Constants [5] {
- Constant [ public integer STATE_CONNECT ] { 0 }
- Constant [ public integer STATE_READY ] { 1 }
- Constant [ public integer STATE_WAIT_RESULT ] { 2 }
- Constant [ public integer STATE_SUBSCRIBE ] { 3 }
- Constant [ public integer STATE_CLOSED ] { 4 }
- }
-
- - Static properties [0] {
- }
-
- - Static methods [0] {
- }
-
- - Properties [9] {
- Property [ <default> public $onConnect ]
- Property [ <default> public $onClose ]
- Property [ <default> public $onMessage ]
- Property [ <default> public $setting ]
- Property [ <default> public $host ]
- Property [ <default> public $port ]
- Property [ <default> public $sock ]
- Property [ <default> public $errCode ]
- Property [ <default> public $errMsg ]
- }
-
- - Methods [7] {
- Method [ <internal:swoole, ctor> public method __construct ] {
-
- - Parameters [1] {
- Parameter #0 [ <optional> array or NULL $setting ]
- }
- }
-
- Method [ <internal:swoole, dtor> public method __destruct ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole> public method on ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $event_name ]
- Parameter #1 [ <required> $callback ]
- }
- }
-
- Method [ <internal:swoole> public method connect ] {
-
- - Parameters [3] {
- Parameter #0 [ <required> $host ]
- Parameter #1 [ <required> $port ]
- Parameter #2 [ <required> $callback ]
- }
- }
-
- Method [ <internal:swoole> public method close ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole> public method getState ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:swoole> public method __call ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $command ]
- Parameter #1 [ <required> $params ]
- }
- }
- }
- }
-
Class [ <internal:swoole> class Swoole\Redis\Server extends Swoole\Server ] {
- Constants [7] {
@@ -6853,7 +6225,7 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
Property [ <default> public $worker_pid ]
}
- - Methods [42] {
+ - Methods [44] {
Method [ <internal:swoole, overwrites Swoole\Server, prototype Swoole\Server> public method start ] {
- Parameters [0] {
@@ -6862,11 +6234,16 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
Method [ <internal:swoole> public method setHandler ] {
- - Parameters [4] {
+ - Parameters [2] {
+ Parameter #0 [ <required> $command ]
+ Parameter #1 [ <required> callable $callback ]
+ }
+ }
+
+ Method [ <internal:swoole> public method getHandler ] {
+
+ - Parameters [1] {
Parameter #0 [ <required> $command ]
- Parameter #1 [ <required> $callback ]
- Parameter #2 [ <optional> $number_of_string_param ]
- Parameter #3 [ <optional> $type_of_array_param ]
}
}
@@ -6908,7 +6285,14 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
- Parameters [2] {
Parameter #0 [ <required> $event_name ]
- Parameter #1 [ <required> $callback ]
+ Parameter #1 [ <required> callable $callback ]
+ }
+ }
+
+ Method [ <internal:swoole, inherits Swoole\Server> public method getCallback ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $event_name ]
}
}
@@ -7012,7 +6396,7 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
- Parameters [3] {
Parameter #0 [ <required> $data ]
Parameter #1 [ <optional> $worker_id ]
- Parameter #2 [ <optional> $finish_callback ]
+ Parameter #2 [ <optional> callable or NULL $finish_callback ]
}
}
@@ -7116,7 +6500,7 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
- Parameters [3] {
Parameter #0 [ <required> $ms ]
- Parameter #1 [ <required> $callback ]
+ Parameter #1 [ <required> callable $callback ]
Parameter #2 [ <optional> $param ]
}
}
@@ -7125,7 +6509,7 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
- Parameters [2] {
Parameter #0 [ <required> $ms ]
- Parameter #1 [ <required> $callback ]
+ Parameter #1 [ <required> callable $callback ]
}
}
@@ -7139,7 +6523,7 @@ Extension [ <persistent> extension #152 swoole version 4.2.13 ] {
Method [ <internal:swoole, inherits Swoole\Server> public method defer ] {
- Parameters [1] {
- Parameter #0 [ <required> $callback ]
+ Parameter #0 [ <required> callable $callback ]
}
}