Exemplo 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;
 }
Exemplo n.º 2
0
 public function __construct(Yiiq $owner, $type, $class)
 {
     parent::__construct($owner);
     $this->type = $type;
     $this->class = $class;
 }
Exemplo n.º 3
0
 public function __construct(Yiiq $owner, Job $job)
 {
     parent::__construct($owner);
     $this->job = $job;
 }