Illuminate\Queue\WorkerOptions::__construct PHP Method

__construct() public method

Create a new worker options instance.
public __construct ( integer $delay, integer $memory = 128, integer $timeout = 60, integer $sleep = 3, integer $maxTries, boolean $force = false )
$delay integer
$memory integer
$timeout integer
$sleep integer
$maxTries integer
$force boolean
    public function __construct($delay = 0, $memory = 128, $timeout = 60, $sleep = 3, $maxTries = 0, $force = false)
    {
        $this->delay = $delay;
        $this->sleep = $sleep;
        $this->force = $force;
        $this->memory = $memory;
        $this->timeout = $timeout;
        $this->maxTries = $maxTries;
    }
WorkerOptions