Beispiel #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!');
     }
 }
Beispiel #2
0
 public function __construct($tick, array $tables, array $services = array(), array $config)
 {
     parent::__construct($tick, $tables, $services);
     $this->config = $config;
 }