SaleSmsSubscriber
in package
implements
EventSubscriberInterface
FinalYes
Table of Contents
Interfaces
- EventSubscriberInterface
Properties
- $entityManager : EntityManagerInterface
- $logger : LoggerInterface
- $smsService : SmsService
Methods
- __construct() : mixed
- getSubscribedEvents() : array<string|int, mixed>
- onTerminate() : void
Properties
$entityManager read-only
private
EntityManagerInterface
$entityManager
$logger read-only
private
LoggerInterface
$logger
$smsService read-only
private
SmsService
$smsService
Methods
__construct()
public
__construct(EntityManagerInterface $entityManager, SmsService $smsService, LoggerInterface $logger) : mixed
Parameters
- $entityManager : EntityManagerInterface
- $smsService : SmsService
- $logger : LoggerInterface
getSubscribedEvents()
public
static getSubscribedEvents() : array<string|int, mixed>
Return values
array<string|int, mixed>onTerminate()
public
onTerminate(TerminateEvent $event) : void
Parameters
- $event : TerminateEvent