original_string: public function setOptions($options)
      {
          // Adding hosts.
          if (!empty($options['hosts'])) {
              foreach ($options['hosts'] as $host => $port) {
                  $this->addserver($host, $port, false);
              }
          } else {
              $this->addserver('127.0.0.1', '11211', false);
          }
      }
code: public function setOptions($options)
      {
          // Adding hosts.
          if (!empty($options['hosts'])) {
              foreach ($options['hosts'] as $host => $port) {
                  $this->addserver($host, $port, false);
              }
          } else {
              $this->addserver('127.0.0.1', '11211', false);
          }
      }
code_tokens: public function setOptions ( $ options ) { // Adding hosts. if ( ! empty ( $ options [ 'hosts' ] ) ) { foreach ( $ options [ 'hosts' ] as $ host => $ port ) { $ this -> addserver ( $ host , $ port , false ) ; } } else { $ this -> addserver ( '127.0.0.1' , '11211' , false ) ; } }
docstring: Stablish Memcached options defined in config.php
  @param $options
docstring_tokens: Stablish Memcached options defined in config . php