[Flow] Creating Account and own object at once
Daniel Völkel
d.voelkel at medienwuerfel.de
Tue Jul 1 10:54:44 CEST 2014
Ok, now I have my DTO and my controller. There is just one thing I'm confused about: where do I create my account with
$account = $this->accountFactory->createAccountWithPassword($username, $password, array($role));
Will this part remain in my controller or will it be in my DTO? And how do I access username and password from my form:
<f:form.textfield name="account.username" id="username" />
<f:form.password name="account.pass" id="pass" />
Best regards,
Daniel
More information about the Flow
mailing list