Esempio n. 1
0
 public function __construct(Yiiq $owner, $id)
 {
     if (!$id) {
         throw new \CException('Job id cannot be empty.');
     }
     parent::__construct($owner);
     $this->id = $id;
 }
Esempio n. 2
0
 public function __construct(Yiiq $owner, $type, $class)
 {
     parent::__construct($owner);
     $this->type = $type;
     $this->class = $class;
 }
Esempio n. 3
0
 public function __construct(Yiiq $owner, Job $job)
 {
     parent::__construct($owner);
     $this->job = $job;
 }