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_loginCode
public function setCreated(\DateTimeInterface $date) {
$this->created = $date;
return $this;
}