Ejemplo n.º 1
0
 /**
  * [setInstance description].
  *
  * @param DBInstance      $instance [description]
  * @param ConfigInterface $config   [description]
  */
 public function setInstance(DBInstance $instance, ConfigInterface $config)
 {
     $this->http = false;
     parent::setInstance($instance, $config);
     $this->setDispatcherClass(ArrayDispatcher::class);
     if (!class_exists('SoapClient')) {
         $this->getError()->setError('Class SoapClient not found. Please enable extension.');
     }
     return $this;
 }
Ejemplo n.º 2
0
 /**
  * [setInstance description]
  * @param DBInstance      $instance [description]
  * @param ConfigInterface $config   [description]
  */
 public function setInstance(DBInstance $instance, ConfigInterface $config)
 {
     $this->http = false;
     parent::setInstance($instance, $config);
     $this->setDispatcherClass(ArrayDispatcher::class);
     if (!class_exists('Zend\\XmlRpc\\Client')) {
         $this->getError()->setError("Class Zend\\XmlRpc\\Client not found. Please install it using 'composer require zendframework/zend-xmlrpc'.");
     }
     return $this;
 }