Пример #1
0
 function __construct(array $params = array(), Manager $manager = null)
 {
     $this->manager = $manager;
     parent::__construct();
     $this->setParameters($params);
     if (!is_null($cache = $this->getDefaultCache())) {
         $this->setCache($cache);
     }
 }
Пример #2
0
 function __construct($attribute, \Kinesis\Task $parent)
 {
     $parent->addChild($this);
     $this->setComponent($parent->Parent->getComponent());
     parent::__construct(array('Attribute' => $attribute), $parent);
 }
Пример #3
0
 function __construct(array $params = null, \Kinesis\Task $parent = null)
 {
     $this->Parent = $parent;
     parent::__construct($params);
 }