class Illuminate / Queue / ListenerOptions

ListenerOptions

Extends

Properties

public

$environment string

The environment the worker should run in.

Default: null

Methods

public

__construct ( $name , $environment , $backoff , $memory , $timeout , $sleep , $maxTries , $force , $rest ) : void

Create a new listener options instance.

Parameters

  • $name string
  • $environment string|null
  • $backoff int|int[]
  • $memory int
  • $timeout int
  • $sleep int
  • $maxTries int
  • $force bool
  • $rest int