Zendframework 3 - no zend registry

917 Views Asked by At

To whom it may concern: I know I can use zend-session with zf3, yet is there a package for zend-registry to be used with Zend Framework 3?

1

There are 1 best solutions below

5
av3 On

No, also in Zend Framework 2 there was no Zend_Registry anymore. Instead of this, there is the Service Manager. So in case yout want to access to session data, you can use the ServiceManager to get the SessionManager and writing/reading data to/from your session. The same for all other information, caching and so on. Just get the things you need from the Service Manager.