diff --git a/README.md b/README.md index 51164cd..6aa8db7 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,10 @@ backends ### Basic Usage ```php + 'null', // null, redis, memcache, memcached 'connection' => [ // driver setup, see below for the structure for each @@ -48,18 +52,19 @@ structure is like so: // Set additional driver-specific options, like persistence for // Memcached, or a prefix for Redis keys ] -] +]; ``` Below are the connection arrays for each backend: Memcache / Memcached: ```php -[ + 'localhost', // hostname or socket 'port' => 11211, // Port needs to be 0 if socket 'persistent' => false, // Use persistent connection -] +]; ``` Redis: