Ralf -- Take a look at the original PR that contains the new factories, as it has examples showing how to use the various Session factories:
- https://github.com/zendframework/zf2/pull/4268 Note that they are not fully integrated into the various session consumers in the framework yet; there's some issues we need to address first. That said, in your own factories, you can then pull the session service, individual containers, etc. and inject them into the objects you need. On Wed, Jun 12, 2013 at 9:49 AM, Ralf Eggert <[email protected]> wrote: > Hi, > > ok, it does work like this: > > ========================================================================== > class Module implements > BootstrapListenerInterface, > ConfigProviderInterface, > AutoloaderProviderInterface > { > public function onBootstrap(EventInterface $e) > { > // configure session > > $e->getApplication()->getServiceManager()->get('Zend\Session\Config\ConfigInterface'); > } > } > ========================================================================== > > But still I would expect that I don't need this step to get it run. > > Comments? > > Regards, > > Ralf > > -- > List: [email protected] > Info: http://framework.zend.com/archives > Unsubscribe: [email protected] > > -- Matthew Weier O'Phinney Project Lead | [email protected] Zend Framework | http://framework.zend.com/ PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc -- List: [email protected] Info: http://framework.zend.com/archives Unsubscribe: [email protected]
