Skip to content

Commit 18622cf

Browse files
Incorrectly used "custom cache driver"
Used "custom cache driver" instead of "custom session driver/extension" in the "Writing The Session Extension" section.
1 parent 38bb5bf commit 18622cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extending.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Session extensions need to be registered differently than other extensions like
8989

9090
### Writing The Session Extension
9191

92-
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:
92+
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:
9393

9494
class MongoHandler implements SessionHandlerInterface {
9595

0 commit comments

Comments
 (0)