PaymentEmail
class PaymentEmail implements PaymentEmailInterface
PaymentEmail class
Properties
private ConfigServiceInterface | $configService | Stores ConfigServiceInterface | |
private EmailServiceInterface | $emailService | Stores EmailServiceInterface | |
private Request | $request | Stores current Request | |
private Environment | $environment | Stores Environment | |
private TranslatorInterface | $translator | Stores TranslatorInterface |
Methods
__construct(ConfigServiceInterface $configService, EmailServiceInterface $emailService, RequestStack $requestStack, Environment $environment, TranslatorInterface $translator)
No description
sendError(string $object, $data)
Sends email for error
Details
at line 57
__construct(ConfigServiceInterface $configService, EmailServiceInterface $emailService, RequestStack $requestStack, Environment $environment, TranslatorInterface $translator)
at line 75
send(Payment $payment, string $amount)
Sends emails related to Payment
at line 86
sendError(string $object, $data)
Sends email for error
at line 127
sendUser(Payment $payment, string $subject)
Sends email related to Payment for the user
at line 147
sendSite(Payment $payment, string $subject)
Sends email related to Payment for the site