You are here

public function AccountInterface::getLastAccessedTime in Service Container 7.2

Same name and namespace in other branches
  1. 7 lib/Drupal/Core/Session/AccountInterface.php \Drupal\Core\Session\AccountInterface::getLastAccessedTime()

The timestamp when the account last accessed the site.

A value of 0 means the user has never accessed the site.

Return value

int Timestamp of the last access.

1 method overrides AccountInterface::getLastAccessedTime()
Account::getLastAccessedTime in src/Session/Account.php
The timestamp when the account last accessed the site.

File

lib/Drupal/Core/Session/AccountInterface.php, line 150
Contains \Drupal\Core\Session\AccountInterface.

Class

AccountInterface
Defines an account interface which represents the current user.

Namespace

Drupal\Core\Session

Code

public function getLastAccessedTime();