Пример #1
0
 public function __construct(array $keys, array $options = array())
 {
     parent::__construct(PHPMQ_SERVER);
     // Only server functions allowed
     $this->config['keys'] = $keys;
     $this->config['options'] = $options;
 }
Пример #2
0
 public function __construct($url, $key, array $options = array())
 {
     parent::__construct(PHPMQ_CLIENT);
     // Only client functions allowed
     $this->config['url'] = $url;
     $this->config['key'] = $key;
     $this->config['options'] = $options;
 }