diff --git a/README.md b/README.md index dc317fe..844bd40 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,19 @@ To make this all work, you need to provide a secret that's used for the HMAC. By session_start(); $_SESSION["foo"] = "bar"; + +## Symfony Usage + + framework: + session: + handler_id: session.handler.cookie + + services: + session.handler.cookie: + class: SessionHandler\Cookie + public: true + arguments: ['secret'] + ## License