feat: Change session manipulation methods from private to protected#1113
feat: Change session manipulation methods from private to protected#1113kenjis merged 2 commits intocodeigniter4:developfrom
private to protected#1113Conversation
|
This Session class is already very long, and would violate the SRP. |
|
The methods related to the user session will give us about 50 lines of code. I don't see the point of moving them to a separate class - especially if they are to remain non-public. |
|
The session data manipulation is needed only for the Session authenticator. By the way, is this an enhancement or a bug fix? |
|
I would say this is an enhancement. |
private to protectedprivate to protected
|
Then it should be released as v1.1.0. |
|
Okay. I'm not familiar with the Shield release cycle, so it's up to you when you'd like to merge this. |
Description
This PR changes the session manipulation methods from
privatetoprotected, so we can use them if we extend theAuthentication\Authenticators\Sessionclass.Reference: #1111
Checklist: