UserRequestSubscriber
class UserRequestSubscriber implements EventSubscriberInterface (View source)
Updates the current user's last access time.
Traits
Provides a standard way to announce deprecated properties.
Properties
| protected | $deprecatedProperties | {@inheritdoc} | |
| 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(PostResponseEvent $event)
Updates the current user's last access time.
static
getSubscribedEvents()
{@inheritdoc}
Details
__get($name)
Allows to access deprecated/removed properties.
This method must be public.
__construct(AccountInterface $account, EntityTypeManagerInterface $entity_type_manager)
Constructs a new UserRequestSubscriber.
onKernelTerminate(PostResponseEvent $event)
Updates the current user's last access time.
static
getSubscribedEvents()
{@inheritdoc}