original_string: public function connect(array $servers)
  	{
  		$memcache = $this->getMemcache();
  
  		// For each server in the array, we'll just extract the configuration and add
  		// the server to the Memcached connection. Once we have added all of these
  		// servers we'll verify the connection is successful and return it back.
  		foreach ($servers as $server)
  		{
  			$memcache->addServer(
  				$server['host'], $server['port'], $server['weight']
  			);
  		}
  
  		if ($memcache->getVersion() === false)
  		{
  			throw new RuntimeException("Could not establish Memcache connection.");
  		}
  
  		return $memcache;
  	}
code: public function connect(array $servers)
  	{
  		$memcache = $this->getMemcache();
  
  		// For each server in the array, we'll just extract the configuration and add
  		// the server to the Memcached connection. Once we have added all of these
  		// servers we'll verify the connection is successful and return it back.
  		foreach ($servers as $server)
  		{
  			$memcache->addServer(
  				$server['host'], $server['port'], $server['weight']
  			);
  		}
  
  		if ($memcache->getVersion() === false)
  		{
  			throw new RuntimeException("Could not establish Memcache connection.");
  		}
  
  		return $memcache;
  	}
code_tokens: public function connect ( array $ servers ) { $ memcache = $ this -> getMemcache ( ) ; // For each server in the array, we'll just extract the configuration and add // the server to the Memcached connection. Once we have added all of these // servers we'll verify the connection is successful and return it back. foreach ( $ servers as $ server ) { $ memcache -> addServer ( $ server [ 'host' ] , $ server [ 'port' ] , $ server [ 'weight' ] ) ; } if ( $ memcache -> getVersion ( ) === false ) { throw new RuntimeException ( "Could not establish Memcache connection." ) ; } return $ memcache ; }
docstring: Create a new Memcache connection.
  
  @param  array  $servers
  @return \Memcache
  
  @throws \RuntimeException
docstring_tokens: Create a new Memcache connection .