Since: 2015.02.25
Author: Petra Barus (petra.barus@gmail.com)
Inheritance: extends yii\base\Object
示例#1
0
 /**
  * Return next job from the queue.
  * @return Job|boolean The job fetched or false if not found.
  */
 protected function fetchJob()
 {
     return $this->strategy->fetch();
 }
示例#2
0
 /**
  * Return next job from the queue.
  * @return Job
  */
 public function fetch()
 {
     return $this->strategy->fetch();
 }
示例#3
0
 /**
  * @return void
  */
 public function init()
 {
     parent::init();
     srand();
 }