PHP 8.3.4 Released!

GearmanClient::setWarningCallback

(PECL gearman >= 0.5.0)

GearmanClient::setWarningCallbackEstablece una llamada de retorno para los warnings del trabajador

Descripción

public GearmanClient::setWarningCallback(callable $callback): bool

Establece una función a ser llamada cuando un trabajador envía un warning. La función acepta un único argumento, un objeto GearmanTask.

Parámetros

callback

Función a llamar

Valores devueltos

Devuelve true en caso de éxito o false en caso de error.

Ver también

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top