trait LoginRequestTrait (View source)

Trait LoginRequestTrait.

This trait MUST be used in Controllers ONLY.

Methods

bool
sendConfirmationEmail(FormInterface $form, EntityManager $entityManager, LoggerInterface $logger, UrlGeneratorInterface $urlGenerator, string $resetRoute = 'loginResetPage')

No description

Details

bool sendConfirmationEmail(FormInterface $form, EntityManager $entityManager, LoggerInterface $logger, UrlGeneratorInterface $urlGenerator, string $resetRoute = 'loginResetPage')

Parameters

FormInterface $form
EntityManager $entityManager
LoggerInterface $logger
UrlGeneratorInterface $urlGenerator
string $resetRoute

Return Value

bool TRUE if confirmation has been sent. FALSE if errors