You are here

public function PersistentToken::setRefreshed in Persistent Login 8

Set the last refresh time of this token.

Parameters

\DateTimeInterface $date: The last refresh time.

Return value

$this

1 call to PersistentToken::setRefreshed()
PersistentToken::updateInstance in src/PersistentToken.php
Update the instance identifier.

File

src/PersistentToken.php, line 261

Class

PersistentToken
Class PersistentToken.

Namespace

Drupal\persistent_login

Code

public function setRefreshed(\DateTimeInterface $date) {
  $this->refreshed = $date;
  return $this;
}