-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add form options, controller template arrays #95
base: master
Are you sure you want to change the base?
Conversation
Controller/ProfileManager.php
Outdated
ProfileController $controller, | ||
FormFactory $formFactory | ||
) { | ||
UserDiscriminator $userDiscriminator, ContainerInterface $container, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change is useless and against PSR-2. Please restore previous line splitting.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Restored.
From: Massimiliano Arione notifications@github.com
To: PUGX/PUGXMultiUserBundle PUGXMultiUserBundle@noreply.github.com
Cc: George Brooks truckeetrout@yahoo.com
Sent: Thursday, November 5, 2015 12:10 AM
Subject: Re: [PUGXMultiUserBundle] Add form options, controller template arrays (#95)
In Controller/ProfileManager.php:> @@ -36,29 +37,28 @@ class ProfileManager
* @param FormFactory $formFactory */ public function __construct(
UserDiscriminator $userDiscriminator,
ContainerInterface $container,
ProfileController $controller,
FormFactory $formFactory
- ) {
- UserDiscriminator $userDiscriminator, ContainerInterface $container,
This change is useless and against PSR-2. Please restore previous line splitting.—
Reply to this email directly or view it on GitHub.
Please note: ProfileManager, RegistrationManager have been checked by php-cs-fixer psr-2. |
This PR adds the ability to send
config.yml
options to registration and profile forms. It also adds the ability to add business logic to registration and profile controllers. These controllers have ready access to the container, making it possible to create an array of templates based on a set of conditions. The templates array is then passed to the registration & profile templates. See the updated documentation for details.