class UserApiListener implements EventSubscriberInterface

Class UserApiListener is injected as alligator.api.user.listener service. UserApiListener is listener class for handling a logic for dispatched events

Methods

__construct(MailerInterface $mailer, TokenGeneratorInterface $tokenGenerator, UrlGeneratorInterface $router, UserEventContainer $eventContainer)

UserApiListener constructor.

static array
getSubscribedEvents()

No description

Details

at line 35
__construct(MailerInterface $mailer, TokenGeneratorInterface $tokenGenerator, UrlGeneratorInterface $router, UserEventContainer $eventContainer)

UserApiListener constructor.

Parameters

MailerInterface $mailer
TokenGeneratorInterface $tokenGenerator
UrlGeneratorInterface $router
UserEventContainer $eventContainer

at line 46
static array getSubscribedEvents()

Return Value

array

at line 56
onAPIRegistrationSuccess(APIUserInsertEvent $event)

Parameters

APIUserInsertEvent $event