PHPDaemon\Clients\GearmanClient\Connection::setConnectionOption PHP Method

setConnectionOption() public method

Function set settings for current connection Available settings 'exceptions' - Forward WORK_EXCEPTION packets to the client.
public setConnectionOption ( integer $optionName, callable $cb = null )
$optionName integer
$cb callable = null
    public function setConnectionOption($optionName, $cb = null)
    {
        $this->sendCommand('OPTION_RES', [$optionName], $cb);
    }