summaryrefslogtreecommitdiffstats
path: root/REFLECTION
diff options
context:
space:
mode:
Diffstat (limited to 'REFLECTION')
-rw-r--r--REFLECTION307
1 files changed, 194 insertions, 113 deletions
diff --git a/REFLECTION b/REFLECTION
index 96e0b4c..c5c6f15 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
+Extension [ <persistent> extension #124 gearman version 2.1.0 ] {
- Constants [157] {
Constant [ string GEARMAN_DEFAULT_TCP_HOST ] { localhost }
@@ -178,44 +178,47 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
- Parameters [1] {
Parameter #0 [ <required> int $verbose ]
}
- - Return [ string or NULL ]
+ - Return [ ?string ]
}
Function [ <internal:gearman> function gearman_client_create ] {
- Parameters [0] {
}
+ - Return [ GearmanClient|false ]
}
Function [ <internal:gearman> function gearman_worker_create ] {
- Parameters [0] {
}
+ - Return [ GearmanWorker|false ]
}
Function [ <internal:gearman> function gearman_client_return_code ] {
- Parameters [1] {
Parameter #0 [ <required> GearmanClient $obj ]
}
- - Return [ int or NULL ]
+ - Return [ ?int ]
}
Function [ <internal:gearman> function gearman_client_error ] {
- Parameters [1] {
Parameter #0 [ <required> GearmanClient $obj ]
}
+ - Return [ string|false|null ]
}
Function [ <internal:gearman> function gearman_client_get_errno ] {
- Parameters [1] {
Parameter #0 [ <required> GearmanClient $obj ]
}
- - Return [ int or NULL ]
+ - Return [ ?int ]
}
Function [ <internal:gearman> function gearman_client_options ] {
- Parameters [1] {
Parameter #0 [ <required> GearmanClient $obj ]
}
- - Return [ int or NULL ]
+ - Return [ ?int ]
}
Function [ <internal:gearman> function gearman_client_set_options ] {
@@ -246,7 +249,7 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
- Parameters [1] {
Parameter #0 [ <required> GearmanClient $obj ]
}
- - Return [ int or NULL ]
+ - Return [ ?int ]
}
Function [ <internal:gearman> function gearman_client_set_timeout ] {
@@ -260,9 +263,9 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
- Parameters [4] {
Parameter #0 [ <required> GearmanClient $obj ]
- Parameter #1 [ <optional> string $host ]
- Parameter #2 [ <optional> int $port ]
- Parameter #3 [ <optional> bool $setupExceptionHandler ]
+ Parameter #1 [ <optional> string $host = null ]
+ Parameter #2 [ <optional> int $port = 0 ]
+ Parameter #3 [ <optional> bool $setupExceptionHandler = true ]
}
- Return [ bool ]
}
@@ -270,8 +273,8 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
- Parameters [3] {
Parameter #0 [ <required> GearmanClient $obj ]
- Parameter #1 [ <optional> string $servers ]
- Parameter #2 [ <optional> bool $setupExceptionHandler ]
+ Parameter #1 [ <optional> string $servers = null ]
+ Parameter #2 [ <optional> bool $setupExceptionHandler = true ]
}
- Return [ bool ]
}
@@ -288,7 +291,7 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
Parameter #0 [ <required> GearmanClient $obj ]
Parameter #1 [ <required> string $function ]
Parameter #2 [ <required> string $workload ]
- Parameter #3 [ <optional> string or NULL $unique ]
+ Parameter #3 [ <optional> ?string $unique = null ]
}
- Return [ string ]
}
@@ -298,7 +301,7 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
Parameter #0 [ <required> GearmanClient $obj ]
Parameter #1 [ <required> string $function ]
Parameter #2 [ <required> string $workload ]
- Parameter #3 [ <optional> string or NULL $unique ]
+ Parameter #3 [ <optional> ?string $unique = null ]
}
- Return [ string ]
}
@@ -308,7 +311,7 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
Parameter #0 [ <required> GearmanClient $obj ]
Parameter #1 [ <required> string $function ]
Parameter #2 [ <required> string $workload ]
- Parameter #3 [ <optional> string or NULL $unique ]
+ Parameter #3 [ <optional> ?string $unique = null ]
}
- Return [ string ]
}
@@ -318,7 +321,7 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
Parameter #0 [ <required> GearmanClient $obj ]
Parameter #1 [ <required> string $function ]
Parameter #2 [ <required> string $workload ]
- Parameter #3 [ <optional> string or NULL $unique ]
+ Parameter #3 [ <optional> ?string $unique = null ]
}
- Return [ string ]
}
@@ -328,7 +331,7 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
Parameter #0 [ <required> GearmanClient $obj ]
Parameter #1 [ <required> string $function ]
Parameter #2 [ <required> string $workload ]
- Parameter #3 [ <optional> string or NULL $unique ]
+ Parameter #3 [ <optional> ?string $unique = null ]
}
- Return [ string ]
}
@@ -338,7 +341,7 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
Parameter #0 [ <required> GearmanClient $obj ]
Parameter #1 [ <required> string $function ]
Parameter #2 [ <required> string $workload ]
- Parameter #3 [ <optional> string or NULL $unique ]
+ Parameter #3 [ <optional> ?string $unique = null ]
}
- Return [ string ]
}
@@ -385,60 +388,66 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
- Parameters [5] {
Parameter #0 [ <required> GearmanClient $obj ]
Parameter #1 [ <required> string $function_name ]
- Parameter #2 [ <required> $workload ]
- Parameter #3 [ <optional> $context ]
- Parameter #4 [ <optional> string or NULL $unique_key ]
+ Parameter #2 [ <required> string|int|float $workload ]
+ Parameter #3 [ <optional> mixed $context = null ]
+ Parameter #4 [ <optional> ?string $unique_key = null ]
}
+ - Return [ GearmanTask|false ]
}
Function [ <internal:gearman> function gearman_client_add_task_high ] {
- Parameters [5] {
Parameter #0 [ <required> GearmanClient $obj ]
Parameter #1 [ <required> string $function_name ]
- Parameter #2 [ <required> $workload ]
- Parameter #3 [ <optional> $context ]
- Parameter #4 [ <optional> string or NULL $unique_key ]
+ Parameter #2 [ <required> string|int|float $workload ]
+ Parameter #3 [ <optional> mixed $context = null ]
+ Parameter #4 [ <optional> ?string $unique_key = null ]
}
+ - Return [ GearmanTask|false ]
}
Function [ <internal:gearman> function gearman_client_add_task_low ] {
- Parameters [5] {
Parameter #0 [ <required> GearmanClient $obj ]
Parameter #1 [ <required> string $function_name ]
- Parameter #2 [ <required> $workload ]
- Parameter #3 [ <optional> $context ]
- Parameter #4 [ <optional> string or NULL $unique_key ]
+ Parameter #2 [ <required> string|int|float $workload ]
+ Parameter #3 [ <optional> mixed $context = null ]
+ Parameter #4 [ <optional> ?string $unique_key = null ]
}
+ - Return [ GearmanTask|false ]
}
Function [ <internal:gearman> function gearman_client_add_task_background ] {
- Parameters [5] {
Parameter #0 [ <required> GearmanClient $obj ]
Parameter #1 [ <required> string $function_name ]
- Parameter #2 [ <required> $workload ]
- Parameter #3 [ <optional> $context ]
- Parameter #4 [ <optional> string or NULL $unique_key ]
+ Parameter #2 [ <required> string|int|float $workload ]
+ Parameter #3 [ <optional> mixed $context = null ]
+ Parameter #4 [ <optional> ?string $unique_key = null ]
}
+ - Return [ GearmanTask|false ]
}
Function [ <internal:gearman> function gearman_client_add_task_high_background ] {
- Parameters [5] {
Parameter #0 [ <required> GearmanClient $obj ]
Parameter #1 [ <required> string $function_name ]
- Parameter #2 [ <required> $workload ]
- Parameter #3 [ <optional> $context ]
- Parameter #4 [ <optional> string or NULL $unique_key ]
+ Parameter #2 [ <required> string|int|float $workload ]
+ Parameter #3 [ <optional> mixed $context = null ]
+ Parameter #4 [ <optional> ?string $unique_key = null ]
}
+ - Return [ GearmanTask|false ]
}
Function [ <internal:gearman> function gearman_client_add_task_low_background ] {
- Parameters [5] {
Parameter #0 [ <required> GearmanClient $obj ]
Parameter #1 [ <required> string $function_name ]
- Parameter #2 [ <required> $workload ]
- Parameter #3 [ <optional> $context ]
- Parameter #4 [ <optional> string or NULL $unique_key ]
+ Parameter #2 [ <required> string|int|float $workload ]
+ Parameter #3 [ <optional> mixed $context = null ]
+ Parameter #4 [ <optional> ?string $unique_key = null ]
}
+ - Return [ GearmanTask|false ]
}
Function [ <internal:gearman> function gearman_client_run_tasks ] {
@@ -452,7 +461,7 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
- Parameters [3] {
Parameter #0 [ <required> GearmanClient $obj ]
Parameter #1 [ <required> string $job_handle ]
- Parameter #2 [ <optional> $context ]
+ Parameter #2 [ <optional> mixed $context = null ]
}
- Return [ GearmanTask ]
}
@@ -554,7 +563,7 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
- Parameters [1] {
Parameter #0 [ <required> GearmanJob $obj ]
}
- - Return [ int or NULL ]
+ - Return [ ?int ]
}
Function [ <internal:gearman> function gearman_job_set_return ] {
@@ -562,7 +571,7 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
Parameter #0 [ <required> GearmanJob $obj ]
Parameter #1 [ <required> int $gearman_return_t ]
}
- - Return [ bool or NULL ]
+ - Return [ ?bool ]
}
Function [ <internal:gearman> function gearman_job_send_data ] {
@@ -570,7 +579,7 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
Parameter #0 [ <required> GearmanJob $obj ]
Parameter #1 [ <required> string $data ]
}
- - Return [ bool or NULL ]
+ - Return [ ?bool ]
}
Function [ <internal:gearman> function gearman_job_send_warning ] {
@@ -617,18 +626,21 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
- Parameters [1] {
Parameter #0 [ <required> GearmanJob $obj ]
}
+ - Return [ string|bool ]
}
Function [ <internal:gearman> function gearman_job_function_name ] {
- Parameters [1] {
Parameter #0 [ <required> GearmanJob $obj ]
}
+ - Return [ string|bool ]
}
Function [ <internal:gearman> function gearman_job_unique ] {
- Parameters [1] {
Parameter #0 [ <required> GearmanJob $obj ]
}
+ - Return [ string|bool ]
}
Function [ <internal:gearman> function gearman_job_workload ] {
@@ -642,70 +654,77 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
- Parameters [1] {
Parameter #0 [ <required> GearmanJob $obj ]
}
- - Return [ int or NULL ]
+ - Return [ ?int ]
}
Function [ <internal:gearman> function gearman_task_return_code ] {
- Parameters [1] {
Parameter #0 [ <required> GearmanTask $obj ]
}
- - Return [ int or NULL ]
+ - Return [ ?int ]
}
Function [ <internal:gearman> function gearman_task_function_name ] {
- Parameters [1] {
Parameter #0 [ <required> GearmanTask $obj ]
}
+ - Return [ string|bool|null ]
}
Function [ <internal:gearman> function gearman_task_unique ] {
- Parameters [1] {
Parameter #0 [ <required> GearmanTask $obj ]
}
+ - Return [ string|bool|null ]
}
Function [ <internal:gearman> function gearman_task_job_handle ] {
- Parameters [1] {
Parameter #0 [ <required> GearmanTask $obj ]
}
+ - Return [ string|bool|null ]
}
Function [ <internal:gearman> function gearman_task_is_known ] {
- Parameters [1] {
Parameter #0 [ <required> GearmanTask $obj ]
}
- - Return [ bool or NULL ]
+ - Return [ ?bool ]
}
Function [ <internal:gearman> function gearman_task_is_running ] {
- Parameters [1] {
Parameter #0 [ <required> GearmanTask $obj ]
}
- - Return [ bool or NULL ]
+ - Return [ ?bool ]
}
Function [ <internal:gearman> function gearman_task_numerator ] {
- Parameters [1] {
Parameter #0 [ <required> GearmanTask $obj ]
}
+ - Return [ int|bool|null ]
}
Function [ <internal:gearman> function gearman_task_denominator ] {
- Parameters [1] {
Parameter #0 [ <required> GearmanTask $obj ]
}
+ - Return [ int|bool|null ]
}
Function [ <internal:gearman> function gearman_task_data ] {
- Parameters [1] {
Parameter #0 [ <required> GearmanTask $obj ]
}
+ - Return [ string|bool|null ]
}
Function [ <internal:gearman> function gearman_task_data_size ] {
- Parameters [1] {
Parameter #0 [ <required> GearmanTask $obj ]
}
+ - Return [ int|false ]
}
Function [ <internal:gearman> function gearman_task_send_workload ] {
@@ -713,6 +732,7 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
Parameter #0 [ <required> GearmanTask $obj ]
Parameter #1 [ <required> string $data ]
}
+ - Return [ int|false ]
}
Function [ <internal:gearman> function gearman_task_recv_data ] {
@@ -720,32 +740,35 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
Parameter #0 [ <required> GearmanTask $obj ]
Parameter #1 [ <required> int $data_len ]
}
+ - Return [ array|bool ]
}
Function [ <internal:gearman> function gearman_worker_return_code ] {
- Parameters [1] {
Parameter #0 [ <required> GearmanWorker $obj ]
}
- - Return [ int or NULL ]
+ - Return [ ?int ]
}
Function [ <internal:gearman> function gearman_worker_error ] {
- Parameters [1] {
Parameter #0 [ <required> GearmanWorker $obj ]
}
+ - Return [ string|false ]
}
Function [ <internal:gearman> function gearman_worker_errno ] {
- Parameters [1] {
Parameter #0 [ <required> GearmanWorker $obj ]
}
+ - Return [ int|false ]
}
Function [ <internal:gearman> function gearman_worker_options ] {
- Parameters [1] {
Parameter #0 [ <required> GearmanWorker $obj ]
}
- - Return [ int or NULL ]
+ - Return [ ?int ]
}
Function [ <internal:gearman> function gearman_worker_set_options ] {
@@ -753,7 +776,7 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
Parameter #0 [ <required> GearmanWorker $obj ]
Parameter #1 [ <required> int $option ]
}
- - Return [ bool or NULL ]
+ - Return [ ?bool ]
}
Function [ <internal:gearman> function gearman_worker_add_options ] {
@@ -761,7 +784,7 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
Parameter #0 [ <required> GearmanWorker $obj ]
Parameter #1 [ <required> int $option ]
}
- - Return [ bool or NULL ]
+ - Return [ ?bool ]
}
Function [ <internal:gearman> function gearman_worker_remove_options ] {
@@ -769,14 +792,14 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
Parameter #0 [ <required> GearmanWorker $obj ]
Parameter #1 [ <required> int $option ]
}
- - Return [ bool or NULL ]
+ - Return [ ?bool ]
}
Function [ <internal:gearman> function gearman_worker_timeout ] {
- Parameters [1] {
Parameter #0 [ <required> GearmanWorker $obj ]
}
- - Return [ int or NULL ]
+ - Return [ ?int ]
}
Function [ <internal:gearman> function gearman_worker_set_timeout ] {
@@ -798,8 +821,8 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
- Parameters [3] {
Parameter #0 [ <required> GearmanWorker $obj ]
- Parameter #1 [ <optional> string $host ]
- Parameter #2 [ <optional> int $port ]
+ Parameter #1 [ <optional> string $host = null ]
+ Parameter #2 [ <optional> int $port = 0 ]
}
- Return [ bool ]
}
@@ -807,7 +830,7 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
- Parameters [2] {
Parameter #0 [ <required> GearmanWorker $obj ]
- Parameter #1 [ <optional> string $servers ]
+ Parameter #1 [ <optional> string $servers = null ]
}
- Return [ bool ]
}
@@ -823,7 +846,7 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
- Parameters [3] {
Parameter #0 [ <required> GearmanWorker $obj ]
Parameter #1 [ <required> string $function_name ]
- Parameter #2 [ <optional> int $timeout ]
+ Parameter #2 [ <optional> int $timeout = 0 ]
}
- Return [ bool ]
}
@@ -847,6 +870,7 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
- Parameters [1] {
Parameter #0 [ <required> GearmanWorker $obj ]
}
+ - Return [ GearmanWorker|false ]
}
Function [ <internal:gearman> function gearman_worker_add_function ] {
@@ -854,8 +878,8 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
Parameter #0 [ <required> GearmanWorker $obj ]
Parameter #1 [ <required> string $function_name ]
Parameter #2 [ <required> callable $function ]
- Parameter #3 [ <optional> $context ]
- Parameter #4 [ <optional> int $timeout ]
+ Parameter #3 [ <optional> mixed $context = null ]
+ Parameter #4 [ <optional> int $timeout = 0 ]
}
- Return [ bool ]
}
@@ -898,7 +922,7 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
}
}
- Method [ <internal:gearman, dtor> public method __destruct ] {
+ Method [ <internal:gearman> public method __destruct ] {
- Parameters [0] {
}
@@ -915,6 +939,7 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
- Parameters [0] {
}
+ - Return [ string|false ]
}
Method [ <internal:gearman> public method getErrno ] {
@@ -973,9 +998,9 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
Method [ <internal:gearman> public method addServer ] {
- Parameters [3] {
- Parameter #0 [ <optional> string $host ]
- Parameter #1 [ <optional> int $port ]
- Parameter #2 [ <optional> bool $setupExceptionHandler ]
+ Parameter #0 [ <optional> string $host = null ]
+ Parameter #1 [ <optional> int $port = 0 ]
+ Parameter #2 [ <optional> bool $setupExceptionHandler = true ]
}
- Return [ bool ]
}
@@ -983,8 +1008,8 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
Method [ <internal:gearman> public method addServers ] {
- Parameters [2] {
- Parameter #0 [ <optional> string $servers ]
- Parameter #1 [ <optional> bool $setupExceptionHandler ]
+ Parameter #0 [ <optional> string $servers = null ]
+ Parameter #1 [ <optional> bool $setupExceptionHandler = true ]
}
- Return [ bool ]
}
@@ -1001,7 +1026,7 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
- Parameters [3] {
Parameter #0 [ <required> string $function ]
Parameter #1 [ <required> string $workload ]
- Parameter #2 [ <optional> string or NULL $unique ]
+ Parameter #2 [ <optional> ?string $unique = null ]
}
- Return [ string ]
}
@@ -1011,7 +1036,7 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
- Parameters [3] {
Parameter #0 [ <required> string $function ]
Parameter #1 [ <required> string $workload ]
- Parameter #2 [ <optional> string or NULL $unique ]
+ Parameter #2 [ <optional> ?string $unique = null ]
}
- Return [ string ]
}
@@ -1021,7 +1046,7 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
- Parameters [3] {
Parameter #0 [ <required> string $function ]
Parameter #1 [ <required> string $workload ]
- Parameter #2 [ <optional> string or NULL $unique ]
+ Parameter #2 [ <optional> ?string $unique = null ]
}
- Return [ string ]
}
@@ -1031,7 +1056,7 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
- Parameters [3] {
Parameter #0 [ <required> string $function ]
Parameter #1 [ <required> string $workload ]
- Parameter #2 [ <optional> string or NULL $unique ]
+ Parameter #2 [ <optional> ?string $unique = null ]
}
- Return [ string ]
}
@@ -1041,7 +1066,7 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
- Parameters [3] {
Parameter #0 [ <required> string $function ]
Parameter #1 [ <required> string $workload ]
- Parameter #2 [ <optional> string or NULL $unique ]
+ Parameter #2 [ <optional> ?string $unique = null ]
}
- Return [ string ]
}
@@ -1051,7 +1076,7 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
- Parameters [3] {
Parameter #0 [ <required> string $function ]
Parameter #1 [ <required> string $workload ]
- Parameter #2 [ <optional> string or NULL $unique ]
+ Parameter #2 [ <optional> ?string $unique = null ]
}
- Return [ string ]
}
@@ -1098,60 +1123,66 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
- Parameters [4] {
Parameter #0 [ <required> string $function_name ]
- Parameter #1 [ <required> $workload ]
- Parameter #2 [ <optional> $context ]
- Parameter #3 [ <optional> string or NULL $unique_key ]
+ Parameter #1 [ <required> string|int|float $workload ]
+ Parameter #2 [ <optional> mixed $context = null ]
+ Parameter #3 [ <optional> ?string $unique_key = null ]
}
+ - Return [ GearmanTask|false ]
}
Method [ <internal:gearman> public method addTaskHigh ] {
- Parameters [4] {
Parameter #0 [ <required> string $function_name ]
- Parameter #1 [ <required> $workload ]
- Parameter #2 [ <optional> $context ]
- Parameter #3 [ <optional> string or NULL $unique_key ]
+ Parameter #1 [ <required> string|int|float $workload ]
+ Parameter #2 [ <optional> mixed $context = null ]
+ Parameter #3 [ <optional> ?string $unique_key = null ]
}
+ - Return [ GearmanTask|false ]
}
Method [ <internal:gearman> public method addTaskLow ] {
- Parameters [4] {
Parameter #0 [ <required> string $function_name ]
- Parameter #1 [ <required> $workload ]
- Parameter #2 [ <optional> $context ]
- Parameter #3 [ <optional> string or NULL $unique_key ]
+ Parameter #1 [ <required> string|int|float $workload ]
+ Parameter #2 [ <optional> mixed $context = null ]
+ Parameter #3 [ <optional> ?string $unique_key = null ]
}
+ - Return [ GearmanTask|false ]
}
Method [ <internal:gearman> public method addTaskBackground ] {
- Parameters [4] {
Parameter #0 [ <required> string $function_name ]
- Parameter #1 [ <required> $workload ]
- Parameter #2 [ <optional> $context ]
- Parameter #3 [ <optional> string or NULL $unique_key ]
+ Parameter #1 [ <required> string|int|float $workload ]
+ Parameter #2 [ <optional> mixed $context = null ]
+ Parameter #3 [ <optional> ?string $unique_key = null ]
}
+ - Return [ GearmanTask|false ]
}
Method [ <internal:gearman> public method addTaskHighBackground ] {
- Parameters [4] {
Parameter #0 [ <required> string $function_name ]
- Parameter #1 [ <required> $workload ]
- Parameter #2 [ <optional> $context ]
- Parameter #3 [ <optional> string or NULL $unique_key ]
+ Parameter #1 [ <required> string|int|float $workload ]
+ Parameter #2 [ <optional> mixed $context = null ]
+ Parameter #3 [ <optional> ?string $unique_key = null ]
}
+ - Return [ GearmanTask|false ]
}
Method [ <internal:gearman> public method addTaskLowBackground ] {
- Parameters [4] {
Parameter #0 [ <required> string $function_name ]
- Parameter #1 [ <required> $workload ]
- Parameter #2 [ <optional> $context ]
- Parameter #3 [ <optional> string or NULL $unique_key ]
+ Parameter #1 [ <required> string|int|float $workload ]
+ Parameter #2 [ <optional> mixed $context = null ]
+ Parameter #3 [ <optional> ?string $unique_key = null ]
}
+ - Return [ GearmanTask|false ]
}
Method [ <internal:gearman> public method runTasks ] {
@@ -1165,7 +1196,7 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
- Parameters [2] {
Parameter #0 [ <required> string $job_handle ]
- Parameter #1 [ <optional> $context ]
+ Parameter #1 [ <optional> mixed $context = null ]
}
- Return [ GearmanTask ]
}
@@ -1297,18 +1328,21 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
- Parameters [0] {
}
+ - Return [ string|bool ]
}
Method [ <internal:gearman> public method unique ] {
- Parameters [0] {
}
+ - Return [ string|bool ]
}
Method [ <internal:gearman> public method jobHandle ] {
- Parameters [0] {
}
+ - Return [ string|bool ]
}
Method [ <internal:gearman> public method isKnown ] {
@@ -1329,24 +1363,28 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
- Parameters [0] {
}
+ - Return [ int|bool ]
}
Method [ <internal:gearman> public method taskDenominator ] {
- Parameters [0] {
}
+ - Return [ int|bool ]
}
Method [ <internal:gearman> public method data ] {
- Parameters [0] {
}
+ - Return [ string|bool ]
}
Method [ <internal:gearman> public method dataSize ] {
- Parameters [0] {
}
+ - Return [ int|false ]
}
Method [ <internal:gearman> public method sendWorkload ] {
@@ -1354,6 +1392,7 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
- Parameters [1] {
Parameter #0 [ <required> string $data ]
}
+ - Return [ int|false ]
}
Method [ <internal:gearman> public method recvData ] {
@@ -1361,6 +1400,7 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
- Parameters [1] {
Parameter #0 [ <required> int $data_len ]
}
+ - Return [ array|bool ]
}
}
}
@@ -1386,7 +1426,7 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
}
}
- Method [ <internal:gearman, dtor> public method __destruct ] {
+ Method [ <internal:gearman> public method __destruct ] {
- Parameters [0] {
}
@@ -1396,26 +1436,28 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
- Parameters [0] {
}
- - Return [ int or NULL ]
+ - Return [ ?int ]
}
Method [ <internal:gearman> public method error ] {
- Parameters [0] {
}
+ - Return [ string|false ]
}
Method [ <internal:gearman> public method getErrno ] {
- Parameters [0] {
}
+ - Return [ int|false ]
}
Method [ <internal:gearman> public method options ] {
- Parameters [0] {
}
- - Return [ int or NULL ]
+ - Return [ ?int ]
}
Method [ <internal:gearman> public method setOptions ] {
@@ -1423,7 +1465,7 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
- Parameters [1] {
Parameter #0 [ <required> int $option ]
}
- - Return [ bool or NULL ]
+ - Return [ ?bool ]
}
Method [ <internal:gearman> public method addOptions ] {
@@ -1431,7 +1473,7 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
- Parameters [1] {
Parameter #0 [ <required> int $option ]
}
- - Return [ bool or NULL ]
+ - Return [ ?bool ]
}
Method [ <internal:gearman> public method removeOptions ] {
@@ -1439,14 +1481,14 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
- Parameters [1] {
Parameter #0 [ <required> int $option ]
}
- - Return [ bool or NULL ]
+ - Return [ ?bool ]
}
Method [ <internal:gearman> public method timeout ] {
- Parameters [0] {
}
- - Return [ int or NULL ]
+ - Return [ ?int ]
}
Method [ <internal:gearman> public method setTimeout ] {
@@ -1468,8 +1510,8 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
Method [ <internal:gearman> public method addServer ] {
- Parameters [2] {
- Parameter #0 [ <optional> string $host ]
- Parameter #1 [ <optional> int $port ]
+ Parameter #0 [ <optional> string $host = null ]
+ Parameter #1 [ <optional> int $port = 0 ]
}
- Return [ bool ]
}
@@ -1477,7 +1519,7 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
Method [ <internal:gearman> public method addServers ] {
- Parameters [1] {
- Parameter #0 [ <optional> string $servers ]
+ Parameter #0 [ <optional> string $servers = null ]
}
- Return [ bool ]
}
@@ -1493,7 +1535,7 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
- Parameters [2] {
Parameter #0 [ <required> string $function_name ]
- Parameter #1 [ <optional> int $timeout ]
+ Parameter #1 [ <optional> int $timeout = 0 ]
}
- Return [ bool ]
}
@@ -1517,6 +1559,7 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
- Parameters [0] {
}
+ - Return [ GearmanWorker|false ]
}
Method [ <internal:gearman> public method addFunction ] {
@@ -1524,8 +1567,8 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
- Parameters [4] {
Parameter #0 [ <required> string $function_name ]
Parameter #1 [ <required> callable $function ]
- Parameter #2 [ <optional> $context ]
- Parameter #3 [ <optional> int $timeout ]
+ Parameter #2 [ <optional> mixed $context = null ]
+ Parameter #3 [ <optional> int $timeout = 0 ]
}
- Return [ bool ]
}
@@ -1562,7 +1605,7 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
}
- Methods [14] {
- Method [ <internal:gearman, dtor> public method __destruct ] {
+ Method [ <internal:gearman> public method __destruct ] {
- Parameters [0] {
}
@@ -1572,7 +1615,7 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
- Parameters [0] {
}
- - Return [ int or NULL ]
+ - Return [ ?int ]
}
Method [ <internal:gearman> public method setReturn ] {
@@ -1580,7 +1623,7 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
- Parameters [1] {
Parameter #0 [ <required> int $gearman_return_t ]
}
- - Return [ bool or NULL ]
+ - Return [ ?bool ]
}
Method [ <internal:gearman> public method sendData ] {
@@ -1588,7 +1631,7 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
- Parameters [1] {
Parameter #0 [ <required> string $data ]
}
- - Return [ bool or NULL ]
+ - Return [ ?bool ]
}
Method [ <internal:gearman> public method sendWarning ] {
@@ -1635,18 +1678,21 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
- Parameters [0] {
}
+ - Return [ string|bool ]
}
Method [ <internal:gearman> public method functionName ] {
- Parameters [0] {
}
+ - Return [ string|bool ]
}
Method [ <internal:gearman> public method unique ] {
- Parameters [0] {
}
+ - Return [ string|bool ]
}
Method [ <internal:gearman> public method workload ] {
@@ -1660,12 +1706,12 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
- Parameters [0] {
}
- - Return [ int or NULL ]
+ - Return [ ?int ]
}
}
}
- Class [ <internal:gearman> final class GearmanException extends Exception implements Throwable ] {
+ Class [ <internal:gearman> final class GearmanException extends Exception implements Throwable, Stringable ] {
- Constants [0] {
}
@@ -1677,47 +1723,82 @@ Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
}
- Properties [4] {
- Property [ <default> protected $message ]
- Property [ <default> protected $file ]
- Property [ <default> protected $line ]
- Property [ <default> public $code ]
+ Property [ protected $message = '' ]
+ Property [ protected string $file = '' ]
+ Property [ protected int $line = 0 ]
+ Property [ public $code = 0 ]
}
- 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 ]
+ Parameter #0 [ <optional> string $message = "" ]
+ Parameter #1 [ <optional> int $code = 0 ]
+ Parameter #2 [ <optional> ?Throwable $previous = null ]
}
}
Method [ <internal:Core, inherits Exception> public method __wakeup ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ void ]
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] {
+
+ - Parameters [0] {
+ }
+ - Return [ ?Throwable ]
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
}
- Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] {
+ Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
}
}
}