SurveyMailManager
class SurveyMailManager extends TranslatableManager
Class SurveyMailManager is injected as alligator.survey_mail_manager service. SurveyMailManager handles the logic for managed entity.
Constants
| TEMPLATE |
|
Properties
| protected SurveyMailRepository | $repository | ||
| protected SendMail | $mailer | ||
| protected TokenStorage | $tokenStorage |
Methods
setRepositoryLocale(ContainerInterface|null $container)
Sets the repository request default locale
from TranslatableManager
__construct(SurveyMailRepository $repository, SendMail $mailer, TokenStorage $tokenStorage)
SurveyMailManager constructor.
Details
in TranslatableManager at line 30
setRepositoryLocale(ContainerInterface|null $container)
Sets the repository request default locale
in TranslatableManager at line 63
setRepository(mixed $repository)
in TranslatableManager at line 73
mixed
getLanguagesForIds(array $ids)
at line 49
__construct(SurveyMailRepository $repository, SendMail $mailer, TokenStorage $tokenStorage)
SurveyMailManager constructor.
at line 63
SurveyMail
saveMail(SurveyMail $mail)
Save survey mail