PHP 클래스 UploadWorker, laraworker

상속: extends Illuminate\Console\Command
파일 보기 프로젝트 열기: iron-io/laraworker

보호된 프로퍼티들

프로퍼티 타입 설명
$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