You are here

public function PrivateMessageThreadAccessTime::getAccessTime in Private Message 8

Get the time of the last access of the thread that references this entity.

Overrides PrivateMessageThreadAccessTimeInterface::getAccessTime

File

src/Entity/PrivateMessageThreadAccessTime.php, line 42

Class

PrivateMessageThreadAccessTime
The Private Message Thread Access Time entity type definition.

Namespace

Drupal\private_message\Entity

Code

public function getAccessTime() {
  return $this
    ->get('access_time')->value;
}