Skip to content

Commit

Permalink
Move form factories to factories key, instead of invokables key
Browse files Browse the repository at this point in the history
  • Loading branch information
Danielss89 committed Dec 21, 2015
1 parent 9f54582 commit d8f83a3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,6 @@ public function getServiceConfig()
'ZfcUser\Authentication\Storage\Db' => 'ZfcUser\Authentication\Storage\Db',
'zfcuser_user_service' => 'ZfcUser\Service\User',
'zfcuser_register_form_hydrator' => 'Zend\Stdlib\Hydrator\ClassMethods',

'zfcuser_login_form' => 'ZfcUser\Factory\Form\Login',
'zfcuser_register_form' => 'ZfcUser\Factory\Form\Register',
'zfcuser_change_password_form' => 'ZfcUser\Factory\Form\ChangePassword',
'zfcuser_change_email_form' => 'ZfcUser\Factory\Form\ChangeEmail',
),
'factories' => array(
'zfcuser_redirect_callback' => 'ZfcUser\Factory\Controller\RedirectCallbackFactory',
Expand All @@ -89,6 +84,11 @@ public function getServiceConfig()

'zfcuser_user_hydrator' => 'ZfcUser\Factory\UserHydrator',
'zfcuser_user_mapper' => 'ZfcUser\Factory\Mapper\User',

'zfcuser_login_form' => 'ZfcUser\Factory\Form\Login',
'zfcuser_register_form' => 'ZfcUser\Factory\Form\Register',
'zfcuser_change_password_form' => 'ZfcUser\Factory\Form\ChangePassword',
'zfcuser_change_email_form' => 'ZfcUser\Factory\Form\ChangeEmail',
),
);
}
Expand Down

0 comments on commit d8f83a3

Please sign in to comment.