diff --git a/en/reference/caching.rst b/en/reference/caching.rst index 1fe17a153..24d99b541 100644 --- a/en/reference/caching.rst +++ b/en/reference/caching.rst @@ -79,7 +79,7 @@ driver by itself. $memcache->connect('memcache_host', 11211); $cacheDriver = new \Doctrine\Common\Cache\MemcacheCache(); - $cacheDriver->setMemcache() + $cacheDriver->setMemcache($memcache); $cacheDriver->save('cache_id', 'my_data'); Xcache