From 18622cfa68873782b38dbf599c66d6d3f48f79be Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 3 Dec 2014 23:42:46 +0100 Subject: [PATCH] Incorrectly used "custom cache driver" Used "custom cache driver" instead of "custom session driver/extension" in the "Writing The Session Extension" section. --- extending.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extending.md b/extending.md index 5998b711670..5c3d7c74ba0 100644 --- a/extending.md +++ b/extending.md @@ -89,7 +89,7 @@ Session extensions need to be registered differently than other extensions like ### Writing The Session Extension -Note that our custom cache driver should implement the `SessionHandlerInterface`. This interface is included in the PHP 5.4+ core. If you are using PHP 5.3, the interface will be defined for you by Laravel so you have forward-compatibility. This interface contains just a few simple methods we need to implement. A stubbed MongoDB implementation would look something like this: +Note that our custom session driver should implement the `SessionHandlerInterface`. This interface is included in the PHP 5.4+ core. If you are using PHP 5.3, the interface will be defined for you by Laravel so you have forward-compatibility. This interface contains just a few simple methods we need to implement. A stubbed MongoDB implementation would look something like this: class MongoHandler implements SessionHandlerInterface {