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 ?



--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/zend-2-custom-library-tp4659303.html
Sent from the Zend Framework mailing list archive at Nabble.com.

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to