RegistrationService
class RegistrationService implements RegistrationServiceInterface (View source)
Properties
protected EntityManagerInterface | $entityManager | ||
protected Application | $application | ||
protected UserInfoRepository | $userInfoRepository |
Methods
__construct(Application $application, EntityManagerInterface $entityManager, UserInfoRepository $userInfoRepository)
No description
createSuperUser(string $uPasswordEncrypted, string $uEmail)
No description
create($data)
No description
createFromPublicRegistration($data)
No description
string
getNewUsernameFromUserDetails(string $email, string $suggestedUsername = '', string $firstName = '', string $lastName = '')
Create an unused username starting from user details.
string
stringToUsernameChunk(string $string)
No description
Details
__construct(Application $application, EntityManagerInterface $entityManager, UserInfoRepository $userInfoRepository)
No description
createSuperUser(string $uPasswordEncrypted, string $uEmail)
No description
create($data)
No description
createFromPublicRegistration($data)
No description
string
getNewUsernameFromUserDetails(string $email, string $suggestedUsername = '', string $firstName = '', string $lastName = '')
Create an unused username starting from user details.
private string
stringToUsernameChunk(string $string)
No description