summaryrefslogtreecommitdiffstats
path: root/REFLECTION
diff options
context:
space:
mode:
Diffstat (limited to 'REFLECTION')
-rw-r--r--REFLECTION855
1 files changed, 495 insertions, 360 deletions
diff --git a/REFLECTION b/REFLECTION
index bdb312c..96e0b4c 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #109 gearman version 2.0.6 ] {
+Extension [ <persistent> extension #119 gearman version 2.1.0 ] {
- Constants [157] {
Constant [ string GEARMAN_DEFAULT_TCP_HOST ] { localhost }
@@ -165,639 +165,714 @@ Extension [ <persistent> extension #109 gearman version 2.0.6 ] {
- Parameters [0] {
}
+ - Return [ string ]
}
Function [ <internal:gearman> function gearman_bugreport ] {
- Parameters [0] {
}
+ - Return [ string ]
}
Function [ <internal:gearman> function gearman_verbose_name ] {
- Parameters [1] {
- Parameter #0 [ <required> $verbose ]
+ Parameter #0 [ <required> int $verbose ]
}
+ - Return [ string or NULL ]
}
Function [ <internal:gearman> function gearman_client_create ] {
- Parameters [0] {
}
}
+ Function [ <internal:gearman> function gearman_worker_create ] {
+
+ - Parameters [0] {
+ }
+ }
Function [ <internal:gearman> function gearman_client_return_code ] {
- Parameters [1] {
- Parameter #0 [ <required> $client_object ]
+ Parameter #0 [ <required> GearmanClient $obj ]
}
+ - Return [ int or NULL ]
}
Function [ <internal:gearman> function gearman_client_error ] {
- Parameters [1] {
- Parameter #0 [ <required> $client_object ]
+ Parameter #0 [ <required> GearmanClient $obj ]
}
}
Function [ <internal:gearman> function gearman_client_get_errno ] {
- Parameters [1] {
- Parameter #0 [ <required> $client_object ]
+ Parameter #0 [ <required> GearmanClient $obj ]
}
+ - Return [ int or NULL ]
}
Function [ <internal:gearman> function gearman_client_options ] {
- Parameters [1] {
- Parameter #0 [ <required> $client_object ]
+ Parameter #0 [ <required> GearmanClient $obj ]
}
+ - Return [ int or NULL ]
}
Function [ <internal:gearman> function gearman_client_set_options ] {
- Parameters [2] {
- Parameter #0 [ <required> $client_object ]
- Parameter #1 [ <required> $option ]
+ Parameter #0 [ <required> GearmanClient $obj ]
+ Parameter #1 [ <required> int $option ]
}
+ - Return [ bool ]
}
Function [ <internal:gearman> function gearman_client_add_options ] {
- Parameters [2] {
- Parameter #0 [ <required> $client_object ]
- Parameter #1 [ <required> $option ]
+ Parameter #0 [ <required> GearmanClient $obj ]
+ Parameter #1 [ <required> int $option ]
}
+ - Return [ bool ]
}
Function [ <internal:gearman> function gearman_client_remove_options ] {
- Parameters [2] {
- Parameter #0 [ <required> $client_object ]
- Parameter #1 [ <required> $option ]
+ Parameter #0 [ <required> GearmanClient $obj ]
+ Parameter #1 [ <required> int $option ]
}
+ - Return [ bool ]
}
Function [ <internal:gearman> function gearman_client_timeout ] {
- Parameters [1] {
- Parameter #0 [ <required> $client_object ]
+ Parameter #0 [ <required> GearmanClient $obj ]
}
+ - Return [ int or NULL ]
}
Function [ <internal:gearman> function gearman_client_set_timeout ] {
- Parameters [2] {
- Parameter #0 [ <required> $client_object ]
- Parameter #1 [ <required> $timeout ]
- }
- }
- Function [ <internal:gearman> function gearman_client_context ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $client_object ]
- }
- }
- Function [ <internal:gearman> function gearman_client_set_context ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $client_object ]
- Parameter #1 [ <required> $context ]
+ Parameter #0 [ <required> GearmanClient $obj ]
+ Parameter #1 [ <required> int $timeout ]
}
+ - Return [ bool ]
}
Function [ <internal:gearman> function gearman_client_add_server ] {
- Parameters [4] {
- Parameter #0 [ <required> $client_object ]
- Parameter #1 [ <optional> $host ]
- Parameter #2 [ <optional> $port ]
- Parameter #3 [ <optional> $enableExceptionHandler ]
+ Parameter #0 [ <required> GearmanClient $obj ]
+ Parameter #1 [ <optional> string $host ]
+ Parameter #2 [ <optional> int $port ]
+ Parameter #3 [ <optional> bool $setupExceptionHandler ]
}
+ - Return [ bool ]
}
Function [ <internal:gearman> function gearman_client_add_servers ] {
- Parameters [3] {
- Parameter #0 [ <required> $client_object ]
- Parameter #1 [ <optional> $servers ]
- Parameter #2 [ <optional> $setupExceptionHandler ]
+ Parameter #0 [ <required> GearmanClient $obj ]
+ Parameter #1 [ <optional> string $servers ]
+ Parameter #2 [ <optional> bool $setupExceptionHandler ]
}
+ - Return [ bool ]
}
Function [ <internal:gearman> function gearman_client_wait ] {
- Parameters [1] {
- Parameter #0 [ <required> $client_object ]
+ Parameter #0 [ <required> GearmanClient $obj ]
}
+ - Return [ bool ]
}
Function [ <internal:gearman> function gearman_client_do_normal ] {
- Parameters [4] {
- Parameter #0 [ <required> $client_object ]
- Parameter #1 [ <required> $function_name ]
- Parameter #2 [ <required> $workload ]
- Parameter #3 [ <optional> $unique ]
+ Parameter #0 [ <required> GearmanClient $obj ]
+ Parameter #1 [ <required> string $function ]
+ Parameter #2 [ <required> string $workload ]
+ Parameter #3 [ <optional> string or NULL $unique ]
}
+ - Return [ string ]
}
Function [ <internal:gearman> function gearman_client_do_high ] {
- Parameters [4] {
- Parameter #0 [ <required> $client_object ]
- Parameter #1 [ <required> $function_name ]
- Parameter #2 [ <required> $workload ]
- Parameter #3 [ <optional> $unique ]
+ Parameter #0 [ <required> GearmanClient $obj ]
+ Parameter #1 [ <required> string $function ]
+ Parameter #2 [ <required> string $workload ]
+ Parameter #3 [ <optional> string or NULL $unique ]
}
+ - Return [ string ]
}
Function [ <internal:gearman> function gearman_client_do_low ] {
- Parameters [4] {
- Parameter #0 [ <required> $client_object ]
- Parameter #1 [ <required> $function_name ]
- Parameter #2 [ <required> $workload ]
- Parameter #3 [ <optional> $unique ]
+ Parameter #0 [ <required> GearmanClient $obj ]
+ Parameter #1 [ <required> string $function ]
+ Parameter #2 [ <required> string $workload ]
+ Parameter #3 [ <optional> string or NULL $unique ]
}
+ - Return [ string ]
}
- Function [ <internal:gearman> function gearman_client_do_job_handle ] {
+ Function [ <internal:gearman> function gearman_client_do_background ] {
- - Parameters [1] {
- Parameter #0 [ <required> $client_object ]
+ - Parameters [4] {
+ Parameter #0 [ <required> GearmanClient $obj ]
+ Parameter #1 [ <required> string $function ]
+ Parameter #2 [ <required> string $workload ]
+ Parameter #3 [ <optional> string or NULL $unique ]
}
+ - Return [ string ]
}
- Function [ <internal:gearman> function gearman_client_do_status ] {
+ Function [ <internal:gearman> function gearman_client_do_high_background ] {
- - Parameters [1] {
- Parameter #0 [ <required> $client_object ]
+ - Parameters [4] {
+ Parameter #0 [ <required> GearmanClient $obj ]
+ Parameter #1 [ <required> string $function ]
+ Parameter #2 [ <required> string $workload ]
+ Parameter #3 [ <optional> string or NULL $unique ]
}
+ - Return [ string ]
}
- Function [ <internal:gearman> function gearman_client_do_background ] {
+ Function [ <internal:gearman> function gearman_client_do_low_background ] {
- Parameters [4] {
- Parameter #0 [ <required> $client_object ]
- Parameter #1 [ <required> $function_name ]
- Parameter #2 [ <required> $workload ]
- Parameter #3 [ <optional> $unique ]
+ Parameter #0 [ <required> GearmanClient $obj ]
+ Parameter #1 [ <required> string $function ]
+ Parameter #2 [ <required> string $workload ]
+ Parameter #3 [ <optional> string or NULL $unique ]
}
+ - Return [ string ]
}
- Function [ <internal:gearman> function gearman_client_do_high_background ] {
+ Function [ <internal:gearman> function gearman_client_do_job_handle ] {
- - Parameters [4] {
- Parameter #0 [ <required> $client_object ]
- Parameter #1 [ <required> $function_name ]
- Parameter #2 [ <required> $workload ]
- Parameter #3 [ <optional> $unique ]
+ - Parameters [1] {
+ Parameter #0 [ <required> GearmanClient $obj ]
}
+ - Return [ string ]
}
- Function [ <internal:gearman> function gearman_client_do_low_background ] {
+ Function [ <internal:gearman> function gearman_client_do_status ] {
- - Parameters [4] {
- Parameter #0 [ <required> $client_object ]
- Parameter #1 [ <required> $function_name ]
- Parameter #2 [ <required> $workload ]
- Parameter #3 [ <optional> $unique ]
+ - Parameters [1] {
+ Parameter #0 [ <required> GearmanClient $obj ]
}
+ - Return [ array ]
}
Function [ <internal:gearman> function gearman_client_job_status ] {
- Parameters [2] {
- Parameter #0 [ <required> $client_object ]
- Parameter #1 [ <required> $job_handle ]
+ Parameter #0 [ <required> GearmanClient $obj ]
+ Parameter #1 [ <required> string $job_handle ]
}
+ - Return [ array ]
}
Function [ <internal:gearman> function gearman_client_job_status_by_unique_key ] {
- Parameters [2] {
- Parameter #0 [ <required> $client_object ]
- Parameter #1 [ <required> $unique_key ]
+ Parameter #0 [ <required> GearmanClient $obj ]
+ Parameter #1 [ <required> string $unique_key ]
}
+ - Return [ array ]
}
Function [ <internal:gearman> function gearman_client_ping ] {
- Parameters [2] {
- Parameter #0 [ <required> $client_object ]
- Parameter #1 [ <required> $workload ]
+ Parameter #0 [ <required> GearmanClient $obj ]
+ Parameter #1 [ <required> string $workload ]
}
+ - Return [ bool ]
}
Function [ <internal:gearman> function gearman_client_add_task ] {
- Parameters [5] {
- Parameter #0 [ <required> $client_object ]
- Parameter #1 [ <required> $function_name ]
+ Parameter #0 [ <required> GearmanClient $obj ]
+ Parameter #1 [ <required> string $function_name ]
Parameter #2 [ <required> $workload ]
Parameter #3 [ <optional> $context ]
- Parameter #4 [ <optional> $unique ]
+ Parameter #4 [ <optional> string or NULL $unique_key ]
}
}
Function [ <internal:gearman> function gearman_client_add_task_high ] {
- Parameters [5] {
- Parameter #0 [ <required> $client_object ]
- Parameter #1 [ <required> $function_name ]
+ Parameter #0 [ <required> GearmanClient $obj ]
+ Parameter #1 [ <required> string $function_name ]
Parameter #2 [ <required> $workload ]
Parameter #3 [ <optional> $context ]
- Parameter #4 [ <optional> $unique ]
+ Parameter #4 [ <optional> string or NULL $unique_key ]
}
}
Function [ <internal:gearman> function gearman_client_add_task_low ] {
- Parameters [5] {
- Parameter #0 [ <required> $client_object ]
- Parameter #1 [ <required> $function_name ]
+ Parameter #0 [ <required> GearmanClient $obj ]
+ Parameter #1 [ <required> string $function_name ]
Parameter #2 [ <required> $workload ]
Parameter #3 [ <optional> $context ]
- Parameter #4 [ <optional> $unique ]
+ Parameter #4 [ <optional> string or NULL $unique_key ]
}
}
Function [ <internal:gearman> function gearman_client_add_task_background ] {
- Parameters [5] {
- Parameter #0 [ <required> $client_object ]
- Parameter #1 [ <required> $function_name ]
+ Parameter #0 [ <required> GearmanClient $obj ]
+ Parameter #1 [ <required> string $function_name ]
Parameter #2 [ <required> $workload ]
Parameter #3 [ <optional> $context ]
- Parameter #4 [ <optional> $unique ]
+ Parameter #4 [ <optional> string or NULL $unique_key ]
}
}
Function [ <internal:gearman> function gearman_client_add_task_high_background ] {
- Parameters [5] {
- Parameter #0 [ <required> $client_object ]
- Parameter #1 [ <required> $function_name ]
+ Parameter #0 [ <required> GearmanClient $obj ]
+ Parameter #1 [ <required> string $function_name ]
Parameter #2 [ <required> $workload ]
Parameter #3 [ <optional> $context ]
- Parameter #4 [ <optional> $unique ]
+ Parameter #4 [ <optional> string or NULL $unique_key ]
}
}
Function [ <internal:gearman> function gearman_client_add_task_low_background ] {
- Parameters [5] {
- Parameter #0 [ <required> $client_object ]
- Parameter #1 [ <required> $function_name ]
+ Parameter #0 [ <required> GearmanClient $obj ]
+ Parameter #1 [ <required> string $function_name ]
Parameter #2 [ <required> $workload ]
Parameter #3 [ <optional> $context ]
- Parameter #4 [ <optional> $unique ]
+ Parameter #4 [ <optional> string or NULL $unique_key ]
}
}
+ Function [ <internal:gearman> function gearman_client_run_tasks ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> GearmanClient $obj ]
+ }
+ - Return [ bool ]
+ }
Function [ <internal:gearman> function gearman_client_add_task_status ] {
- Parameters [3] {
- Parameter #0 [ <required> $client_object ]
- Parameter #1 [ <required> $job_handle ]
+ Parameter #0 [ <required> GearmanClient $obj ]
+ Parameter #1 [ <required> string $job_handle ]
Parameter #2 [ <optional> $context ]
}
+ - Return [ GearmanTask ]
}
Function [ <internal:gearman> function gearman_client_set_workload_callback ] {
- Parameters [2] {
- Parameter #0 [ <required> $client_object ]
- Parameter #1 [ <required> $callback ]
+ Parameter #0 [ <required> GearmanClient $obj ]
+ Parameter #1 [ <required> callable $function ]
}
+ - Return [ bool ]
}
Function [ <internal:gearman> function gearman_client_set_created_callback ] {
- Parameters [2] {
- Parameter #0 [ <required> $client_object ]
- Parameter #1 [ <required> $callback ]
+ Parameter #0 [ <required> GearmanClient $obj ]
+ Parameter #1 [ <required> callable $function ]
}
+ - Return [ bool ]
}
Function [ <internal:gearman> function gearman_client_set_data_callback ] {
- Parameters [2] {
- Parameter #0 [ <required> $client_object ]
- Parameter #1 [ <required> $callback ]
+ Parameter #0 [ <required> GearmanClient $obj ]
+ Parameter #1 [ <required> callable $function ]
}
+ - Return [ bool ]
}
Function [ <internal:gearman> function gearman_client_set_warning_callback ] {
- Parameters [2] {
- Parameter #0 [ <required> $client_object ]
- Parameter #1 [ <required> $callback ]
+ Parameter #0 [ <required> GearmanClient $obj ]
+ Parameter #1 [ <required> callable $function ]
}
+ - Return [ bool ]
}
Function [ <internal:gearman> function gearman_client_set_status_callback ] {
- Parameters [2] {
- Parameter #0 [ <required> $client_object ]
- Parameter #1 [ <required> $callback ]
+ Parameter #0 [ <required> GearmanClient $obj ]
+ Parameter #1 [ <required> callable $function ]
}
+ - Return [ bool ]
}
Function [ <internal:gearman> function gearman_client_set_complete_callback ] {
- Parameters [2] {
- Parameter #0 [ <required> $client_object ]
- Parameter #1 [ <required> $callback ]
+ Parameter #0 [ <required> GearmanClient $obj ]
+ Parameter #1 [ <required> callable $function ]
}
+ - Return [ bool ]
}
Function [ <internal:gearman> function gearman_client_set_exception_callback ] {
- Parameters [2] {
- Parameter #0 [ <required> $client_object ]
- Parameter #1 [ <required> $callback ]
+ Parameter #0 [ <required> GearmanClient $obj ]
+ Parameter #1 [ <required> callable $function ]
}
+ - Return [ bool ]
}
Function [ <internal:gearman> function gearman_client_set_fail_callback ] {
- Parameters [2] {
- Parameter #0 [ <required> $client_object ]
- Parameter #1 [ <required> $callback ]
+ Parameter #0 [ <required> GearmanClient $obj ]
+ Parameter #1 [ <required> callable $function ]
}
+ - Return [ bool ]
}
Function [ <internal:gearman> function gearman_client_clear_callbacks ] {
- Parameters [1] {
- Parameter #0 [ <required> $client_object ]
+ Parameter #0 [ <required> GearmanClient $obj ]
}
+ - Return [ bool ]
}
- Function [ <internal:gearman> function gearman_client_run_tasks ] {
+ Function [ <internal:gearman> function gearman_client_context ] {
- Parameters [1] {
- Parameter #0 [ <required> $client_object ]
+ Parameter #0 [ <required> GearmanClient $obj ]
}
+ - Return [ string ]
+ }
+ Function [ <internal:gearman> function gearman_client_set_context ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> GearmanClient $obj ]
+ Parameter #1 [ <required> string $data ]
+ }
+ - Return [ bool ]
+ }
+ Function [ <internal:gearman> function gearman_client_enable_exception_handler ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> GearmanClient $obj ]
+ }
+ - Return [ bool ]
+ }
+ Function [ <internal:gearman> function gearman_job_return_code ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> GearmanJob $obj ]
+ }
+ - Return [ int or NULL ]
+ }
+ Function [ <internal:gearman> function gearman_job_set_return ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> GearmanJob $obj ]
+ Parameter #1 [ <required> int $gearman_return_t ]
+ }
+ - Return [ bool or NULL ]
+ }
+ Function [ <internal:gearman> function gearman_job_send_data ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> GearmanJob $obj ]
+ Parameter #1 [ <required> string $data ]
+ }
+ - Return [ bool or NULL ]
+ }
+ Function [ <internal:gearman> function gearman_job_send_warning ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> GearmanJob $obj ]
+ Parameter #1 [ <required> string $warning ]
+ }
+ - Return [ bool ]
+ }
+ Function [ <internal:gearman> function gearman_job_send_status ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> GearmanJob $obj ]
+ Parameter #1 [ <required> int $numerator ]
+ Parameter #2 [ <required> int $denominator ]
+ }
+ - Return [ bool ]
+ }
+ Function [ <internal:gearman> function gearman_job_send_complete ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> GearmanJob $obj ]
+ Parameter #1 [ <required> string $result ]
+ }
+ - Return [ bool ]
+ }
+ Function [ <internal:gearman> function gearman_job_send_exception ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> GearmanJob $obj ]
+ Parameter #1 [ <required> string $exception ]
+ }
+ - Return [ bool ]
+ }
+ Function [ <internal:gearman> function gearman_job_send_fail ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> GearmanJob $obj ]
+ }
+ - Return [ bool ]
+ }
+ Function [ <internal:gearman> function gearman_job_handle ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> GearmanJob $obj ]
+ }
+ }
+ Function [ <internal:gearman> function gearman_job_function_name ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> GearmanJob $obj ]
+ }
+ }
+ Function [ <internal:gearman> function gearman_job_unique ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> GearmanJob $obj ]
+ }
+ }
+ Function [ <internal:gearman> function gearman_job_workload ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> GearmanJob $obj ]
+ }
+ - Return [ string ]
+ }
+ Function [ <internal:gearman> function gearman_job_workload_size ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> GearmanJob $obj ]
+ }
+ - Return [ int or NULL ]
}
Function [ <internal:gearman> function gearman_task_return_code ] {
- Parameters [1] {
- Parameter #0 [ <required> $task_object ]
+ Parameter #0 [ <required> GearmanTask $obj ]
}
+ - Return [ int or NULL ]
}
Function [ <internal:gearman> function gearman_task_function_name ] {
- Parameters [1] {
- Parameter #0 [ <required> $task_object ]
+ Parameter #0 [ <required> GearmanTask $obj ]
}
}
Function [ <internal:gearman> function gearman_task_unique ] {
- Parameters [1] {
- Parameter #0 [ <required> $task_object ]
+ Parameter #0 [ <required> GearmanTask $obj ]
}
}
Function [ <internal:gearman> function gearman_task_job_handle ] {
- Parameters [1] {
- Parameter #0 [ <required> $task_object ]
+ Parameter #0 [ <required> GearmanTask $obj ]
}
}
Function [ <internal:gearman> function gearman_task_is_known ] {
- Parameters [1] {
- Parameter #0 [ <required> $task_object ]
+ Parameter #0 [ <required> GearmanTask $obj ]
}
+ - Return [ bool or NULL ]
}
Function [ <internal:gearman> function gearman_task_is_running ] {
- Parameters [1] {
- Parameter #0 [ <required> $task_object ]
+ Parameter #0 [ <required> GearmanTask $obj ]
}
+ - Return [ bool or NULL ]
}
Function [ <internal:gearman> function gearman_task_numerator ] {
- Parameters [1] {
- Parameter #0 [ <required> $task_object ]
+ Parameter #0 [ <required> GearmanTask $obj ]
}
}
Function [ <internal:gearman> function gearman_task_denominator ] {
- Parameters [1] {
- Parameter #0 [ <required> $task_object ]
+ Parameter #0 [ <required> GearmanTask $obj ]
}
}
Function [ <internal:gearman> function gearman_task_data ] {
- Parameters [1] {
- Parameter #0 [ <required> $task_object ]
+ Parameter #0 [ <required> GearmanTask $obj ]
}
}
Function [ <internal:gearman> function gearman_task_data_size ] {
- Parameters [1] {
- Parameter #0 [ <required> $task_object ]
+ Parameter #0 [ <required> GearmanTask $obj ]
}
}
Function [ <internal:gearman> function gearman_task_send_workload ] {
- Parameters [2] {
- Parameter #0 [ <required> $task_object ]
- Parameter #1 [ <required> $data ]
+ Parameter #0 [ <required> GearmanTask $obj ]
+ Parameter #1 [ <required> string $data ]
}
}
Function [ <internal:gearman> function gearman_task_recv_data ] {
- Parameters [2] {
- Parameter #0 [ <required> $task_object ]
- Parameter #1 [ <required> $data_len ]
+ Parameter #0 [ <required> GearmanTask $obj ]
+ Parameter #1 [ <required> int $data_len ]
}
}
Function [ <internal:gearman> function gearman_worker_return_code ] {
- Parameters [1] {
- Parameter #0 [ <required> $worker_object ]
- }
- }
- Function [ <internal:gearman> function gearman_worker_create ] {
-
- - Parameters [0] {
+ Parameter #0 [ <required> GearmanWorker $obj ]
}
+ - Return [ int or NULL ]
}
Function [ <internal:gearman> function gearman_worker_error ] {
- Parameters [1] {
- Parameter #0 [ <required> $worker_object ]
+ Parameter #0 [ <required> GearmanWorker $obj ]
}
}
Function [ <internal:gearman> function gearman_worker_errno ] {
- Parameters [1] {
- Parameter #0 [ <required> $worker_object ]
+ Parameter #0 [ <required> GearmanWorker $obj ]
}
}
Function [ <internal:gearman> function gearman_worker_options ] {
- Parameters [1] {
- Parameter #0 [ <required> $worker_object ]
+ Parameter #0 [ <required> GearmanWorker $obj ]
}
+ - Return [ int or NULL ]
}
Function [ <internal:gearman> function gearman_worker_set_options ] {
- Parameters [2] {
- Parameter #0 [ <required> $worker_object ]
- Parameter #1 [ <required> $option ]
+ Parameter #0 [ <required> GearmanWorker $obj ]
+ Parameter #1 [ <required> int $option ]
}
+ - Return [ bool or NULL ]
}
Function [ <internal:gearman> function gearman_worker_add_options ] {
- Parameters [2] {
- Parameter #0 [ <required> $worker_object ]
- Parameter #1 [ <required> $option ]
+ Parameter #0 [ <required> GearmanWorker $obj ]
+ Parameter #1 [ <required> int $option ]
}
+ - Return [ bool or NULL ]
}
Function [ <internal:gearman> function gearman_worker_remove_options ] {
- Parameters [2] {
- Parameter #0 [ <required> $worker_object ]
- Parameter #1 [ <required> $option ]
+ Parameter #0 [ <required> GearmanWorker $obj ]
+ Parameter #1 [ <required> int $option ]
}
+ - Return [ bool or NULL ]
}
Function [ <internal:gearman> function gearman_worker_timeout ] {
- Parameters [1] {
- Parameter #0 [ <required> $worker_object ]
+ Parameter #0 [ <required> GearmanWorker $obj ]
}
+ - Return [ int or NULL ]
}
Function [ <internal:gearman> function gearman_worker_set_timeout ] {
- Parameters [2] {
- Parameter #0 [ <required> $worker_object ]
- Parameter #1 [ <required> $timeout ]
+ Parameter #0 [ <required> GearmanWorker $obj ]
+ Parameter #1 [ <required> int $timeout ]
}
+ - Return [ bool ]
}
Function [ <internal:gearman> function gearman_worker_set_id ] {
- Parameters [2] {
- Parameter #0 [ <required> $worker_object ]
- Parameter #1 [ <required> $id ]
+ Parameter #0 [ <required> GearmanWorker $obj ]
+ Parameter #1 [ <required> string $id ]
}
+ - Return [ bool ]
}
Function [ <internal:gearman> function gearman_worker_add_server ] {
- Parameters [3] {
- Parameter #0 [ <required> $worker_object ]
- Parameter #1 [ <optional> $host ]
- Parameter #2 [ <optional> $port ]
+ Parameter #0 [ <required> GearmanWorker $obj ]
+ Parameter #1 [ <optional> string $host ]
+ Parameter #2 [ <optional> int $port ]
}
+ - Return [ bool ]
}
Function [ <internal:gearman> function gearman_worker_add_servers ] {
- Parameters [2] {
- Parameter #0 [ <required> $worker_object ]
- Parameter #1 [ <required> $servers ]
+ Parameter #0 [ <required> GearmanWorker $obj ]
+ Parameter #1 [ <optional> string $servers ]
}
+ - Return [ bool ]
}
Function [ <internal:gearman> function gearman_worker_wait ] {
- Parameters [1] {
- Parameter #0 [ <required> $worker_object ]
+ Parameter #0 [ <required> GearmanWorker $obj ]
}
+ - Return [ bool ]
}
Function [ <internal:gearman> function gearman_worker_register ] {
- Parameters [3] {
- Parameter #0 [ <required> $worker_object ]
- Parameter #1 [ <required> $function_name ]
- Parameter #2 [ <optional> $timeout ]
+ Parameter #0 [ <required> GearmanWorker $obj ]
+ Parameter #1 [ <required> string $function_name ]
+ Parameter #2 [ <optional> int $timeout ]
}
+ - Return [ bool ]
}
Function [ <internal:gearman> function gearman_worker_unregister ] {
- Parameters [2] {
- Parameter #0 [ <required> $worker_object ]
- Parameter #1 [ <required> $function_name ]
+ Parameter #0 [ <required> GearmanWorker $obj ]
+ Parameter #1 [ <required> string $function_name ]
}
+ - Return [ bool ]
}
Function [ <internal:gearman> function gearman_worker_unregister_all ] {
- Parameters [1] {
- Parameter #0 [ <required> $worker_object ]
+ Parameter #0 [ <required> GearmanWorker $obj ]
}
+ - Return [ bool ]
}
Function [ <internal:gearman> function gearman_worker_grab_job ] {
- Parameters [1] {
- Parameter #0 [ <required> $worker_object ]
+ Parameter #0 [ <required> GearmanWorker $obj ]
}
}
Function [ <internal:gearman> function gearman_worker_add_function ] {
- Parameters [5] {
- Parameter #0 [ <required> $worker_object ]
- Parameter #1 [ <required> $function_name ]
- Parameter #2 [ <required> $function ]
- Parameter #3 [ <optional> $data ]
- Parameter #4 [ <optional> $timeout ]
+ 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 ]
}
+ - Return [ bool ]
}
Function [ <internal:gearman> function gearman_worker_work ] {
- Parameters [1] {
- Parameter #0 [ <required> $worker_object ]
+ Parameter #0 [ <required> GearmanWorker $obj ]
}
+ - Return [ bool ]
}
Function [ <internal:gearman> function gearman_worker_ping ] {
- Parameters [2] {
- Parameter #0 [ <required> $worker_object ]
- Parameter #1 [ <required> $workload ]
- }
- }
- Function [ <internal:gearman> function gearman_job_return_code ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $job_object ]
- }
- }
- Function [ <internal:gearman> function gearman_job_set_return ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $job_object ]
- Parameter #1 [ <required> $gearman_return_t ]
- }
- }
- Function [ <internal:gearman> function gearman_job_send_data ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $job_object ]
- Parameter #1 [ <required> $data ]
- }
- }
- Function [ <internal:gearman> function gearman_job_send_warning ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $job_object ]
- Parameter #1 [ <required> $warning ]
- }
- }
- Function [ <internal:gearman> function gearman_job_send_status ] {
-
- - Parameters [3] {
- Parameter #0 [ <required> $job_object ]
- Parameter #1 [ <required> $numerator ]
- Parameter #2 [ <required> $denominator ]
- }
- }
- Function [ <internal:gearman> function gearman_job_send_complete ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $job_object ]
- Parameter #1 [ <required> $result ]
- }
- }
- Function [ <internal:gearman> function gearman_job_send_exception ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $job_object ]
- Parameter #1 [ <required> $exception ]
- }
- }
- Function [ <internal:gearman> function gearman_job_send_fail ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $job_object ]
- }
- }
- Function [ <internal:gearman> function gearman_job_handle ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $job_object ]
- }
- }
- Function [ <internal:gearman> function gearman_job_function_name ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $job_object ]
- }
- }
- Function [ <internal:gearman> function gearman_job_unique ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $job_object ]
- }
- }
- Function [ <internal:gearman> function gearman_job_workload ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $job_object ]
- }
- }
- Function [ <internal:gearman> function gearman_job_workload_size ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $job_object ]
+ Parameter #0 [ <required> GearmanWorker $obj ]
+ Parameter #1 [ <required> string $data ]
}
+ - Return [ bool ]
}
}
@@ -833,6 +908,7 @@ Extension [ <persistent> extension #109 gearman version 2.0.6 ] {
- Parameters [0] {
}
+ - Return [ int ]
}
Method [ <internal:gearman> public method error ] {
@@ -845,311 +921,346 @@ Extension [ <persistent> extension #109 gearman version 2.0.6 ] {
- Parameters [0] {
}
+ - Return [ int ]
}
Method [ <internal:gearman> public method options ] {
- Parameters [0] {
}
+ - Return [ int ]
}
Method [ <internal:gearman> public method setOptions ] {
- Parameters [1] {
- Parameter #0 [ <required> $option ]
+ Parameter #0 [ <required> int $option ]
}
+ - Return [ bool ]
}
Method [ <internal:gearman> public method addOptions ] {
- Parameters [1] {
- Parameter #0 [ <required> $option ]
+ Parameter #0 [ <required> int $option ]
}
+ - Return [ bool ]
}
Method [ <internal:gearman> public method removeOptions ] {
- Parameters [1] {
- Parameter #0 [ <required> $option ]
+ Parameter #0 [ <required> int $option ]
}
+ - Return [ bool ]
}
Method [ <internal:gearman> public method timeout ] {
- Parameters [0] {
}
+ - Return [ int ]
}
Method [ <internal:gearman> public method setTimeout ] {
- Parameters [1] {
- Parameter #0 [ <required> $timeout ]
- }
- }
-
- Method [ <internal:gearman> public method context ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:gearman> public method setContext ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $context ]
+ Parameter #0 [ <required> int $timeout ]
}
+ - Return [ bool ]
}
Method [ <internal:gearman> public method addServer ] {
- Parameters [3] {
- Parameter #0 [ <optional> $host ]
- Parameter #1 [ <optional> $port ]
- Parameter #2 [ <optional> $enableExceptionHandler ]
+ Parameter #0 [ <optional> string $host ]
+ Parameter #1 [ <optional> int $port ]
+ Parameter #2 [ <optional> bool $setupExceptionHandler ]
}
+ - Return [ bool ]
}
Method [ <internal:gearman> public method addServers ] {
- Parameters [2] {
- Parameter #0 [ <optional> $servers ]
- Parameter #1 [ <optional> $setupExceptionHandler ]
+ Parameter #0 [ <optional> string $servers ]
+ Parameter #1 [ <optional> bool $setupExceptionHandler ]
}
+ - Return [ bool ]
}
Method [ <internal:gearman> public method wait ] {
- Parameters [0] {
}
+ - Return [ bool ]
}
Method [ <internal:gearman> public method doNormal ] {
- Parameters [3] {
- Parameter #0 [ <required> $function_name ]
- Parameter #1 [ <required> $workload ]
- Parameter #2 [ <optional> $unique ]
+ Parameter #0 [ <required> string $function ]
+ Parameter #1 [ <required> string $workload ]
+ Parameter #2 [ <optional> string or NULL $unique ]
}
+ - Return [ string ]
}
Method [ <internal:gearman> public method doHigh ] {
- Parameters [3] {
- Parameter #0 [ <required> $function_name ]
- Parameter #1 [ <required> $workload ]
- Parameter #2 [ <optional> $unique ]
+ Parameter #0 [ <required> string $function ]
+ Parameter #1 [ <required> string $workload ]
+ Parameter #2 [ <optional> string or NULL $unique ]
}
+ - Return [ string ]
}
- Method [ <internal:gearman> public method doLow ] {
+ Method [ <internal:gearman> public method dolow ] {
- Parameters [3] {
- Parameter #0 [ <required> $function_name ]
- Parameter #1 [ <required> $workload ]
- Parameter #2 [ <optional> $unique ]
+ Parameter #0 [ <required> string $function ]
+ Parameter #1 [ <required> string $workload ]
+ Parameter #2 [ <optional> string or NULL $unique ]
}
+ - Return [ string ]
}
Method [ <internal:gearman> public method doBackground ] {
- Parameters [3] {
- Parameter #0 [ <required> $function_name ]
- Parameter #1 [ <required> $workload ]
- Parameter #2 [ <optional> $unique ]
+ Parameter #0 [ <required> string $function ]
+ Parameter #1 [ <required> string $workload ]
+ Parameter #2 [ <optional> string or NULL $unique ]
}
+ - Return [ string ]
}
Method [ <internal:gearman> public method doHighBackground ] {
- Parameters [3] {
- Parameter #0 [ <required> $function_name ]
- Parameter #1 [ <required> $workload ]
- Parameter #2 [ <optional> $unique ]
+ Parameter #0 [ <required> string $function ]
+ Parameter #1 [ <required> string $workload ]
+ Parameter #2 [ <optional> string or NULL $unique ]
}
+ - Return [ string ]
}
Method [ <internal:gearman> public method doLowBackground ] {
- Parameters [3] {
- Parameter #0 [ <required> $function_name ]
- Parameter #1 [ <required> $workload ]
- Parameter #2 [ <optional> $unique ]
+ Parameter #0 [ <required> string $function ]
+ Parameter #1 [ <required> string $workload ]
+ Parameter #2 [ <optional> string or NULL $unique ]
}
+ - Return [ string ]
}
Method [ <internal:gearman> public method doJobHandle ] {
- Parameters [0] {
}
+ - Return [ string ]
}
Method [ <internal:gearman> public method doStatus ] {
- Parameters [0] {
}
+ - Return [ array ]
}
Method [ <internal:gearman> public method jobStatus ] {
- Parameters [1] {
- Parameter #0 [ <required> $job_handle ]
+ Parameter #0 [ <required> string $job_handle ]
}
+ - Return [ array ]
}
Method [ <internal:gearman> public method jobStatusByUniqueKey ] {
- Parameters [1] {
- Parameter #0 [ <required> $unique_key ]
+ Parameter #0 [ <required> string $unique_key ]
}
+ - Return [ array ]
}
Method [ <internal:gearman> public method ping ] {
- Parameters [1] {
- Parameter #0 [ <required> $workload ]
+ Parameter #0 [ <required> string $workload ]
}
+ - Return [ bool ]
}
Method [ <internal:gearman> public method addTask ] {
- Parameters [4] {
- Parameter #0 [ <required> $function_name ]
+ Parameter #0 [ <required> string $function_name ]
Parameter #1 [ <required> $workload ]
Parameter #2 [ <optional> $context ]
- Parameter #3 [ <optional> $unique ]
+ Parameter #3 [ <optional> string or NULL $unique_key ]
}
}
Method [ <internal:gearman> public method addTaskHigh ] {
- Parameters [4] {
- Parameter #0 [ <required> $function_name ]
+ Parameter #0 [ <required> string $function_name ]
Parameter #1 [ <required> $workload ]
Parameter #2 [ <optional> $context ]
- Parameter #3 [ <optional> $unique ]
+ Parameter #3 [ <optional> string or NULL $unique_key ]
}
}
Method [ <internal:gearman> public method addTaskLow ] {
- Parameters [4] {
- Parameter #0 [ <required> $function_name ]
+ Parameter #0 [ <required> string $function_name ]
Parameter #1 [ <required> $workload ]
Parameter #2 [ <optional> $context ]
- Parameter #3 [ <optional> $unique ]
+ Parameter #3 [ <optional> string or NULL $unique_key ]
}
}
Method [ <internal:gearman> public method addTaskBackground ] {
- Parameters [4] {
- Parameter #0 [ <required> $function_name ]
+ Parameter #0 [ <required> string $function_name ]
Parameter #1 [ <required> $workload ]
Parameter #2 [ <optional> $context ]
- Parameter #3 [ <optional> $unique ]
+ Parameter #3 [ <optional> string or NULL $unique_key ]
}
}
Method [ <internal:gearman> public method addTaskHighBackground ] {
- Parameters [4] {
- Parameter #0 [ <required> $function_name ]
+ Parameter #0 [ <required> string $function_name ]
Parameter #1 [ <required> $workload ]
Parameter #2 [ <optional> $context ]
- Parameter #3 [ <optional> $unique ]
+ Parameter #3 [ <optional> string or NULL $unique_key ]
}
}
Method [ <internal:gearman> public method addTaskLowBackground ] {
- Parameters [4] {
- Parameter #0 [ <required> $function_name ]
+ Parameter #0 [ <required> string $function_name ]
Parameter #1 [ <required> $workload ]
Parameter #2 [ <optional> $context ]
- Parameter #3 [ <optional> $unique ]
+ Parameter #3 [ <optional> string or NULL $unique_key ]
+ }
+ }
+
+ Method [ <internal:gearman> public method runTasks ] {
+
+ - Parameters [0] {
}
+ - Return [ bool ]
}
Method [ <internal:gearman> public method addTaskStatus ] {
- Parameters [2] {
- Parameter #0 [ <required> $job_handle ]
+ Parameter #0 [ <required> string $job_handle ]
Parameter #1 [ <optional> $context ]
}
+ - Return [ GearmanTask ]
}
Method [ <internal:gearman> public method setWorkloadCallback ] {
- Parameters [1] {
- Parameter #0 [ <required> $callback ]
+ Parameter #0 [ <required> callable $function ]
}
+ - Return [ bool ]
}
Method [ <internal:gearman> public method setCreatedCallback ] {
- Parameters [1] {
- Parameter #0 [ <required> $callback ]
+ Parameter #0 [ <required> callable $function ]
}
+ - Return [ bool ]
}
Method [ <internal:gearman> public method setDataCallback ] {
- Parameters [1] {
- Parameter #0 [ <required> $callback ]
+ Parameter #0 [ <required> callable $function ]
}
+ - Return [ bool ]
}
Method [ <internal:gearman> public method setWarningCallback ] {
- Parameters [1] {
- Parameter #0 [ <required> $callback ]
+ Parameter #0 [ <required> callable $function ]
}
+ - Return [ bool ]
}
Method [ <internal:gearman> public method setStatusCallback ] {
- Parameters [1] {
- Parameter #0 [ <required> $callback ]
+ Parameter #0 [ <required> callable $function ]
}
+ - Return [ bool ]
}
Method [ <internal:gearman> public method setCompleteCallback ] {
- Parameters [1] {
- Parameter #0 [ <required> $callback ]
+ Parameter #0 [ <required> callable $function ]
}
+ - Return [ bool ]
}
Method [ <internal:gearman> public method setExceptionCallback ] {
- Parameters [1] {
- Parameter #0 [ <required> $callback ]
+ Parameter #0 [ <required> callable $function ]
}
+ - Return [ bool ]
}
Method [ <internal:gearman> public method setFailCallback ] {
- Parameters [1] {
- Parameter #0 [ <required> $callback ]
+ Parameter #0 [ <required> callable $function ]
}
+ - Return [ bool ]
}
Method [ <internal:gearman> public method clearCallbacks ] {
- Parameters [0] {
}
+ - Return [ bool ]
}
- Method [ <internal:gearman> public method runTasks ] {
+ Method [ <internal:gearman> public method context ] {
- Parameters [0] {
}
+ - Return [ string ]
+ }
+
+ Method [ <internal:gearman> public method setContext ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $data ]
+ }
+ - Return [ bool ]
}
Method [ <internal:gearman> public method enableExceptionHandler ] {
- Parameters [0] {
}
+ - Return [ bool ]
}
}
}
@@ -1168,23 +1279,18 @@ Extension [ <persistent> extension #109 gearman version 2.0.6 ] {
- Properties [0] {
}
- - Methods [14] {
+ - Methods [13] {
Method [ <internal:gearman, ctor> public method __construct ] {
- Parameters [0] {
}
}
- Method [ <internal:gearman, dtor> public method __destruct ] {
-
- - Parameters [0] {
- }
- }
-
Method [ <internal:gearman> public method returnCode ] {
- Parameters [0] {
}
+ - Return [ int ]
}
Method [ <internal:gearman> public method functionName ] {
@@ -1209,12 +1315,14 @@ Extension [ <persistent> extension #109 gearman version 2.0.6 ] {
- Parameters [0] {
}
+ - Return [ bool ]
}
Method [ <internal:gearman> public method isRunning ] {
- Parameters [0] {
}
+ - Return [ bool ]
}
Method [ <internal:gearman> public method taskNumerator ] {
@@ -1229,29 +1337,29 @@ Extension [ <persistent> extension #109 gearman version 2.0.6 ] {
}
}
- Method [ <internal:gearman> public method sendWorkload ] {
+ Method [ <internal:gearman> public method data ] {
- - Parameters [1] {
- Parameter #0 [ <required> $data ]
+ - Parameters [0] {
}
}
- Method [ <internal:gearman> public method data ] {
+ Method [ <internal:gearman> public method dataSize ] {
- Parameters [0] {
}
}
- Method [ <internal:gearman> public method dataSize ] {
+ Method [ <internal:gearman> public method sendWorkload ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <required> string $data ]
}
}
Method [ <internal:gearman> public method recvData ] {
- Parameters [1] {
- Parameter #0 [ <required> $data_len ]
+ Parameter #0 [ <required> int $data_len ]
}
}
}
@@ -1288,6 +1396,7 @@ Extension [ <persistent> extension #109 gearman version 2.0.6 ] {
- Parameters [0] {
}
+ - Return [ int or NULL ]
}
Method [ <internal:gearman> public method error ] {
@@ -1306,89 +1415,102 @@ Extension [ <persistent> extension #109 gearman version 2.0.6 ] {
- Parameters [0] {
}
+ - Return [ int or NULL ]
}
Method [ <internal:gearman> public method setOptions ] {
- Parameters [1] {
- Parameter #0 [ <required> $option ]
+ Parameter #0 [ <required> int $option ]
}
+ - Return [ bool or NULL ]
}
Method [ <internal:gearman> public method addOptions ] {
- Parameters [1] {
- Parameter #0 [ <required> $option ]
+ Parameter #0 [ <required> int $option ]
}
+ - Return [ bool or NULL ]
}
Method [ <internal:gearman> public method removeOptions ] {
- Parameters [1] {
- Parameter #0 [ <required> $option ]
+ Parameter #0 [ <required> int $option ]
}
+ - Return [ bool or NULL ]
}
Method [ <internal:gearman> public method timeout ] {
- Parameters [0] {
}
+ - Return [ int or NULL ]
}
Method [ <internal:gearman> public method setTimeout ] {
- Parameters [1] {
- Parameter #0 [ <required> $timeout ]
+ Parameter #0 [ <required> int $timeout ]
}
+ - Return [ bool ]
}
Method [ <internal:gearman> public method setId ] {
- Parameters [1] {
- Parameter #0 [ <required> $id ]
+ Parameter #0 [ <required> string $id ]
}
+ - Return [ bool ]
}
Method [ <internal:gearman> public method addServer ] {
- Parameters [2] {
- Parameter #0 [ <optional> $host ]
- Parameter #1 [ <optional> $port ]
+ Parameter #0 [ <optional> string $host ]
+ Parameter #1 [ <optional> int $port ]
}
+ - Return [ bool ]
}
Method [ <internal:gearman> public method addServers ] {
- Parameters [1] {
- Parameter #0 [ <required> $servers ]
+ Parameter #0 [ <optional> string $servers ]
}
+ - Return [ bool ]
}
Method [ <internal:gearman> public method wait ] {
- Parameters [0] {
}
+ - Return [ bool ]
}
Method [ <internal:gearman> public method register ] {
- Parameters [2] {
- Parameter #0 [ <required> $function_name ]
- Parameter #1 [ <optional> $timeout ]
+ Parameter #0 [ <required> string $function_name ]
+ Parameter #1 [ <optional> int $timeout ]
}
+ - Return [ bool ]
}
Method [ <internal:gearman> public method unregister ] {
- Parameters [1] {
- Parameter #0 [ <required> $function_name ]
+ Parameter #0 [ <required> string $function_name ]
}
+ - Return [ bool ]
}
Method [ <internal:gearman> public method unregisterAll ] {
- Parameters [0] {
}
+ - Return [ bool ]
}
Method [ <internal:gearman> public method grabJob ] {
@@ -1400,24 +1522,27 @@ Extension [ <persistent> extension #109 gearman version 2.0.6 ] {
Method [ <internal:gearman> public method addFunction ] {
- Parameters [4] {
- Parameter #0 [ <required> $function_name ]
- Parameter #1 [ <required> $function ]
- Parameter #2 [ <optional> $data ]
- Parameter #3 [ <optional> $timeout ]
+ Parameter #0 [ <required> string $function_name ]
+ Parameter #1 [ <required> callable $function ]
+ Parameter #2 [ <optional> $context ]
+ Parameter #3 [ <optional> int $timeout ]
}
+ - Return [ bool ]
}
Method [ <internal:gearman> public method work ] {
- Parameters [0] {
}
+ - Return [ bool ]
}
- Method [ <internal:gearman> public method echo ] {
+ Method [ <internal:gearman> public method ping ] {
- Parameters [1] {
- Parameter #0 [ <required> $workload ]
+ Parameter #0 [ <required> string $data ]
}
+ - Return [ bool ]
}
}
}
@@ -1447,55 +1572,63 @@ Extension [ <persistent> extension #109 gearman version 2.0.6 ] {
- Parameters [0] {
}
+ - Return [ int or NULL ]
}
Method [ <internal:gearman> public method setReturn ] {
- Parameters [1] {
- Parameter #0 [ <required> $gearman_return_t ]
+ Parameter #0 [ <required> int $gearman_return_t ]
}
+ - Return [ bool or NULL ]
}
Method [ <internal:gearman> public method sendData ] {
- Parameters [1] {
- Parameter #0 [ <required> $data ]
+ Parameter #0 [ <required> string $data ]
}
+ - Return [ bool or NULL ]
}
Method [ <internal:gearman> public method sendWarning ] {
- Parameters [1] {
- Parameter #0 [ <required> $warning ]
+ Parameter #0 [ <required> string $warning ]
}
+ - Return [ bool ]
}
Method [ <internal:gearman> public method sendStatus ] {
- Parameters [2] {
- Parameter #0 [ <required> $numerator ]
- Parameter #1 [ <required> $denominator ]
+ Parameter #0 [ <required> int $numerator ]
+ Parameter #1 [ <required> int $denominator ]
}
+ - Return [ bool ]
}
Method [ <internal:gearman> public method sendComplete ] {
- Parameters [1] {
- Parameter #0 [ <required> $result ]
+ Parameter #0 [ <required> string $result ]
}
+ - Return [ bool ]
}
Method [ <internal:gearman> public method sendException ] {
- Parameters [1] {
- Parameter #0 [ <required> $exception ]
+ Parameter #0 [ <required> string $exception ]
}
+ - Return [ bool ]
}
Method [ <internal:gearman> public method sendFail ] {
- Parameters [0] {
}
+ - Return [ bool ]
}
Method [ <internal:gearman> public method handle ] {
@@ -1520,12 +1653,14 @@ Extension [ <persistent> extension #109 gearman version 2.0.6 ] {
- Parameters [0] {
}
+ - Return [ string ]
}
Method [ <internal:gearman> public method workloadSize ] {
- Parameters [0] {
}
+ - Return [ int or NULL ]
}
}
}