Getting the Session Store


You want to access the session implementation used by the Form facade.


Use the Form::getSessionStore() method.

$session = Form::getSessionStore();


Generally this is not needed.

You can access the Session facade directly. But if you have a complicated application with different session handlers for different parts of your application, Laravel provides this method.

comments powered by Disqus