array( 'namespaces' => array( __NAMESPACE__ => __DIR__ . '/src/' . __NAMESPACE__, ), ), ); } public function getConfig() { return include __DIR__ . '/config/module.config.php'; } public function getControllerPluginConfig() { return array( 'factories' => array( 'zfcUserAuthentication' => 'ZfcUser\Factory\Controller\Plugin\ZfcUserAuthenticationFactory', ), ); } public function getViewHelperConfig() { return array( 'factories' => array( 'zfcUserDisplayName' => 'ZfcUser\Factory\View\Helper\DisplayNameFactory', 'zfcUserIdentity' => 'ZfcUser\Factory\View\Helper\IdentityFactory', 'zfcUserLoginWidget' => 'ZfcUser\Factory\View\Helper\LoginWidgetFactory', ), ); } public function getServiceConfig() { return array( 'invokables' => array( 'ZfcUser\Authentication\Adapter\Db' => 'ZfcUser\Authentication\Adapter\Db', 'ZfcUser\Authentication\Storage\Db' => 'ZfcUser\Authentication\Storage\Db', 'ZfcUser\Form\Login' => 'ZfcUser\Form\Login', 'zfcuser_user_service' => 'ZfcUser\Service\User', ), 'factories' => array( 'zfcuser_module_options' => 'ZfcUser\Factory\ModuleOptionsFactory', 'zfcuser_auth_service' => 'ZfcUser\Factory\AuthenticationServiceFactory', 'ZfcUser\Authentication\Adapter\AdapterChain' => 'ZfcUser\Authentication\Adapter\AdapterChainServiceFactory', 'zfcuser_login_form' => 'ZfcUser\Factory\Form\LoginFormFactory', 'zfcuser_register_form' => 'ZfcUser\Factory\Form\RegisterFormFactory', 'zfcuser_user_mapper' => 'ZfcUser\Factory\UserMapperFactory', 'zfcuser_user_hydrator' => 'ZfcUser\Factory\Mapper\UserHydratorFactory', ), 'aliases' => array( 'zfcuser_register_form_hydrator' => 'zfcuser_user_hydrator' ), ); } }