Пример #1
0
 public function __construct($host, $port, $driver_name = null, $enabled = true)
 {
     $this->enabled = $enabled;
     $this->driver = DriverManager::load($host, $port, $driver_name);
     $this->keys = null;
     $this->keys_key = 'keys';
 }
Пример #2
0
 public function __construct($host, $port, $driver_name = null)
 {
     $this->driver = DriverManager::load($host, $port, $driver_name);
 }