Skip to content

Commit

Permalink
Merge pull request laravel#989 from Soulen/patch-1
Browse files Browse the repository at this point in the history
Incorrectly used "custom cache driver"
  • Loading branch information
taylorotwell committed Dec 19, 2014
2 parents 4c8d3d7 + 18622cf commit 3219111
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extending.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand Down

0 comments on commit 3219111

Please sign in to comment.