-
Notifications
You must be signed in to change notification settings - Fork 13
Ukol 3 - Milan Staněk #32
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
base: master
Are you sure you want to change the base?
Conversation
… (viac adries som uz nedal casovo)
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.
Pozor na přepisování indentu, přijde mi, že jsi nevycházel z aktuálního masteru v originu (duplikuješ změny, které tam již jsou)
@@ -28,13 +31,13 @@ class UserController | |||
private $router; | |||
|
|||
public function __construct( | |||
UserFacade $userFacade, | |||
UserFacade $userFacade, |
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.
tady bacha na indenty (i :40)
|
||
$form->handleRequest($request); | ||
|
||
if ($form->isSubmitted()) { |
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.
&& isValid
|
||
if ($form->isSubmitted()) { | ||
|
||
$this->entityManager->persist($user); |
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.
Do facade/repository s tím :)
implementacia zmeny mena, prijmeni, telefonu, hesla a jednej korespondencnej adresy