Вход Регистрация
Файл: vendor/laravel/framework/src/Illuminate/Queue/ListenerOptions.php
Строк: 53
<?php

namespace IlluminateQueue;

class 
ListenerOptions extends WorkerOptions
{
    
/**
     * The environment the worker should run in.
     *
     * @var string
     */
    
public $environment;

    
/**
     * Create a new listener options instance.
     *
     * @param  string  $name
     * @param  string|null  $environment
     * @param  int|int[]  $backoff
     * @param  int  $memory
     * @param  int  $timeout
     * @param  int  $sleep
     * @param  int  $maxTries
     * @param  bool  $force
     * @param  int  $rest
     * @return void
     */
    
public function __construct($name = 'default', $environment = null, $backoff = 0, $memory = 128, $timeout = 60, $sleep = 3, $maxTries = 1, $force = false, $rest = 0)
    {
        
$this->environment = $environment;

        
parent::__construct($name, $backoff, $memory, $timeout, $sleep, $maxTries, $force, false, 0, 0, $rest);
    }
}
Онлайн: 2
Реклама