/**
* @param array $nodeUrls
* @param CacheInterface|null $cache
* @param LoggerInterface|null $log
*
* @throws ConnectException
*/
public function __construct(array $nodeUrls = array(), CacheInterface $cache = null, LoggerInterface $log = null)
{
if (!$cache) {
$cache = new MemoryCache();
}
$this->cache = $cache;
parent::__construct($nodeUrls, $log);
}