You are here

public function PersistentToken::setCreated in Persistent Login 8

Set the creation time of this token.

Parameters

\DateTimeInterface $date: The creation time.

Return value

$this

File

src/PersistentToken.php, line 237

Class

PersistentToken
Class PersistentToken.

Namespace

Drupal\persistent_login

Code

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