private function buildMemcacheCache() { if (null === $this->host) { throw new HostShouldBeProvidedException(); } if (null === $this->port) { $this->port = Memcache::DEFAULT_PORT; } if (null === $this->timeout) { $this->timeout = Memcache::DEFAULT_TIMEOUT; } $this->server->addserver($this->host, $this->port, null, null, $this->timeout); $this->cacheProvider->setMemcache($this->server); }