Exemplo n.º 1
0
 /**
  * Sets configuration
  * @param array $value
  * @return booleand
  */
 public function setConfig($value)
 {
     if ($this->isValidConfig($value)) {
         $this->config = $value;
         $this->debug('Config from array:', $value);
         $rc = false;
         if (!is_null($this->client)) {
             $rc = $this->client->setConfig($value);
         }
         return true && $rc;
     }
     return false;
 }