-
Notifications
You must be signed in to change notification settings - Fork 62
Documentation clarifications - ext/session vs. ext-session, and "entry of" vs. "entry in" #125
Comments
Yes, With regards to your second question, containers are namespaced. You give a container a name, such as "user", and all entries in that container are part of that virtual namespace. The name of the container then becomes an entry in the storage used. So, yes, a container corresponds to an entry in the storage. In my example, the "user" container becomes a "user" entry in the storage, containing all the values the container has. |
Might be common, but it tripped me up and I'm not new to PHP. FWIW https://docs.zendframework.com/zend-expressive-session-ext/intro/ calls it
And, as you point out, composer calls them ext-*. Dunno, must just be me, and I'm busy enough otherwise. "entry in" vs. "entry of" - I'll make a record-setting-tiny PR for that :) |
I know the spelling "ext/session" from PHP's "Test and Code Coverage Analysis":
But it doesn't matter. In the documentation we need a consistent spelling.
@bitwombat (Or we use the long wording: "PHP's session extension". But this means we have to rewrite the title of zend-expressive-session-ext: "PSR-7 Sessions via ext-session".) |
Will do @froschdesign. I look at it as sort of namespace/context. ext-session could be a ZF thing otherwise. But first, would it be OK with you if the body text was more explicit (ie. "PHP's ext-session"), allowing us to feel consistent while leaving the title of zend-expressive-session-ext alone? |
Go for it! 👍 |
This repository has been closed and moved to laminas/laminas-session; a new issue has been opened at laminas/laminas-session#1. |
The documentation at https://docs.zendframework.com/zend-session/config/
says
What is ext/session? Do they mean the "PHP session extension"?
If so, I'll do a PR with a global search/replace, because that really threw me off.
Also, https://docs.zendframework.com/zend-session/container/ says:
What's meant by "corresponds to an entry of"? Do they mean "is an entry in"?
The text was updated successfully, but these errors were encountered: