Property | Type | Description | |
---|---|---|---|
$description | |||
$iron_worker_name | |||
$laravel | |||
$name | |||
$subscriber_url | |||
$upload_all | |||
$worker | |||
$worker_file_name | |||
$worker_params | |||
$workers | |||
$workers_dir |
Method | Description | |
---|---|---|
__construct ( ) | ||
fire ( ) |
Method | Description | |
---|---|---|
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 |
protected getCurrentSubscribers ( $queue_name ) : array | ||
$queue_name | ||
return | array |
protected getOptions ( ) : array | ||
return | array |
protected getPushType ( $queue_name ) : string | ||
$queue_name | ||
return | string |
protected getQueueOptions ( $queue_name ) : array | ||
$queue_name | ||
return | array |
protected getSubscriberList ( $queue_name ) : array | ||
$queue_name | ||
return | array |
protected need_to_update_queue ( $queue_name ) : boolean | ||
$queue_name | ||
return | boolean |
protected remove_extension ( $filename ) : mixed | ||
$filename | ||
return | mixed |
protected show_workers_queues_list ( $workers ) : mixed | ||
$workers | ||
return | mixed |
protected update_queue ( $iron, $queue_name ) | ||
$iron | ||
$queue_name |
protected upload_worker ( $worker_name, $worker_file_name ) | ||
$worker_name | ||
$worker_file_name |