class Illuminate / Queue / ListenerOptions
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

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