예제 #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
파일: Node.php 프로젝트: Kinetical/Kinesis
 function __construct(array $params = null, \Kinesis\Task $parent = null)
 {
     $this->Parent = $parent;
     parent::__construct($params);
 }