public function PersistentToken::setUid in Persistent Login 8
Set the uid for this token.
This marks the token as valid.
Parameters
int $uid: The user id.
Return value
$this
File
- src/
PersistentToken.php, line 148
Class
- PersistentToken
- Class PersistentToken.
Namespace
Drupal\persistent_loginCode
public function setUid($uid) {
$this->uid = $uid;
return $this;
}