> Hi, > in zf1 I'm used to have my own library like > library > App > Zend > I'm wondering if make sense in zend 2. > Playing around with modules I realize you > can share stuff like > 'factories' => array( > 'auth_service' => function ($sm) { > return new \Zend\Authentication\AuthenticationService( > $sm->get('auth_user_storage'), > $sm->get('auth_user_adapater') > ); > }, > auth_service will be available in all your modules. > So what's do you think about it ?
http://alltheragefaces.com/img/faces/large/obama-not-bad-l.png