Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update session bootstrap code to use the same config key used in Initializing the Session Manager #46

Closed
wants to merge 1 commit into from

Conversation

dapphp
Copy link

@dapphp dapphp commented Nov 7, 2021

Q A
Documentation yes

Description

This is a fix to a code example in the session manager documentation.

The section "Initializing the Session Manager" defines example configuration for the session manager using the key session_manager, however, the corresponding code for bootstrapping the session and configuring the session manager are using the key session to look for this configuration. This commit updates the code to use to the correct config key session_manager instead of session.

@froschdesign
Copy link
Member

@dapphp
Thanks for your help on this topic! 👍

…the corresponding code for bootstrapping the session and configuring the session manager…

All code for the module class should be deleted from the documentation because this code should not be used in an application. And as a demonstration, it is only a deterrent.

Copy link
Member

@Ocramius Ocramius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @dapphp!

@Ocramius Ocramius self-assigned this Feb 15, 2022
@Ocramius Ocramius added this to the 2.13.0 milestone Feb 15, 2022
@Ocramius
Copy link
Member

@froschdesign ah, should this be closed instead? 🤔

@froschdesign
Copy link
Member

The configuration via the module class is a horror and sheds a bad light on this component.
The session manager has a factory and this should be described here.

I will rewrite the entire page next weekend.

@dapphp
Thank you for raising the issue! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants