PHP Класс UploadWorker, laraworker

Наследование: extends Illuminate\Console\Command
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$description
$iron_worker_name
$laravel
$name
$subscriber_url
$upload_all
$worker
$worker_file_name
$worker_params
$workers
$workers_dir

Открытые методы

Метод Описание
__construct ( )
fire ( )

Защищенные методы

Метод Описание
getCurrentSubscribers ( $queue_name ) : array Get the current subscriber list.
getOptions ( ) : array Get the console command options.
getPushType ( $queue_name ) : string Get the push type for the queue.
getQueue ( $queue_name ) : object Get the queue information from Iron.io.
getQueueOptions ( $queue_name ) : array Get the queue options.
getSubscriberList ( $queue_name ) : array Get the current subscribers for the queue.
init ( )
need_to_update_queue ( $queue_name ) : boolean Get list of subscribers and compare it with current subscriber url
remove_extension ( $filename ) : mixed Remove extension of the file
show_workers_queues_list ( $workers ) : mixed Show list of the uploaded workers and created/updated queues
update_queue ( $iron, $queue_name ) Update push queue
upload_worker ( $worker_name, $worker_file_name ) Upload worker

Описание методов

__construct() публичный Метод

public __construct ( )

fire() публичный Метод

public fire ( )

getCurrentSubscribers() защищенный Метод

Get the current subscriber list.
protected getCurrentSubscribers ( $queue_name ) : array
$queue_name
Результат array

getOptions() защищенный Метод

Get the console command options.
protected getOptions ( ) : array
Результат array

getPushType() защищенный Метод

Get the push type for the queue.
protected getPushType ( $queue_name ) : string
$queue_name
Результат string

getQueue() защищенный Метод

Get the queue information from Iron.io.
protected getQueue ( $queue_name ) : object
$queue_name
Результат object

getQueueOptions() защищенный Метод

Get the queue options.
protected getQueueOptions ( $queue_name ) : array
$queue_name
Результат array

getSubscriberList() защищенный Метод

Get the current subscribers for the queue.
protected getSubscriberList ( $queue_name ) : array
$queue_name
Результат array

init() защищенный Метод

protected init ( )

need_to_update_queue() защищенный Метод

Get list of subscribers and compare it with current subscriber url
protected need_to_update_queue ( $queue_name ) : boolean
$queue_name
Результат boolean

remove_extension() защищенный Метод

Remove extension of the file
protected remove_extension ( $filename ) : mixed
$filename
Результат mixed

show_workers_queues_list() защищенный Метод

Show list of the uploaded workers and created/updated queues
protected show_workers_queues_list ( $workers ) : mixed
$workers
Результат mixed

update_queue() защищенный Метод

Update push queue
protected update_queue ( $iron, $queue_name )
$iron
$queue_name

upload_worker() защищенный Метод

Upload worker
protected upload_worker ( $worker_name, $worker_file_name )
$worker_name
$worker_file_name

Описание свойств

$description защищенное свойство

protected $description

$iron_worker_name защищенное свойство

protected $iron_worker_name

$laravel защищенное свойство

protected $laravel

$name защищенное свойство

protected $name

$subscriber_url защищенное свойство

protected $subscriber_url

$upload_all защищенное свойство

protected $upload_all

$worker защищенное свойство

protected $worker

$worker_file_name защищенное свойство

protected $worker_file_name

$worker_params защищенное свойство

protected $worker_params

$workers защищенное свойство

protected $workers

$workers_dir защищенное свойство

protected $workers_dir