Example #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);
     }
 }
Example #2
0
 function __construct($attribute, \Kinesis\Task $parent)
 {
     $parent->addChild($this);
     $this->setComponent($parent->Parent->getComponent());
     parent::__construct(array('Attribute' => $attribute), $parent);
 }
Example #3
0
 function __construct(array $params = null, \Kinesis\Task $parent = null)
 {
     $this->Parent = $parent;
     parent::__construct($params);
 }