From d63dbdbca30c99f2327e06ca02fcfd84e507358f Mon Sep 17 00:00:00 2001 From: Timothy J Warren Date: Wed, 7 Sep 2016 11:01:07 -0400 Subject: [PATCH] Update the README some more --- README.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) 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: