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