src/WQ/WorkProcessor.php
public function setOption(int $option, $value): self
    {
        $this->options[$option] = $value;
        return $this;
    }
public function setOption(int $option, $value): self
    {
        $this->options[$option] = $value;
        return $this;
    }
public function setOption ( int $ option , $ value ) : self { $ this -> options [ $ option ] = $ value ; return $ this ; }
Sets one of the configuration options.

@param int $option  One of the <tt>WP_</tt> constants.
@param mixed $value The option's new value. The required type depends on the option.

@see setOptions()  to change multiple options at once.
@return self
Sets one of the configuration options .