UserRequestSubscriber
class UserRequestSubscriber implements EventSubscriberInterface (View source)
Updates the current user's last access time.
Properties
| protected AccountInterface | $account | The current account. |
|
| protected EntityTypeManagerInterface | $entityTypeManager | The entity type manager service. |
Methods
__construct(AccountInterface $account, EntityTypeManagerInterface $entity_type_manager)
Constructs a new UserRequestSubscriber.
onKernelTerminate(TerminateEvent $event)
Updates the current user's last access time.
static array
getSubscribedEvents()
{@inheritdoc}
Details
__construct(AccountInterface $account, EntityTypeManagerInterface $entity_type_manager)
Constructs a new UserRequestSubscriber.
onKernelTerminate(TerminateEvent $event)
Updates the current user's last access time.
static array
getSubscribedEvents()
{@inheritdoc}