示例#1
0
 public function __construct($tick, $tables, $services, $scopeColonyId = null)
 {
     parent::__construct($tick, $tables, $services);
     if (!empty($scopeColonyId)) {
         $this->setScopeColonyId($scopeColonyId);
     } else {
         $this->getLogger()->log(\Zend\Log\Logger::WARN, 'Missing scope colony id. Some methods can fail unexpectedly!');
     }
 }
示例#2
0
文件: Gateway.php 项目: nouron/nouron
 public function __construct($tick, array $tables, array $services = array(), array $config)
 {
     parent::__construct($tick, $tables, $services);
     $this->config = $config;
 }