You are here

public function PersistentToken::__toString in Persistent Login 8

Return a string suitable for use as a cookie value.

Return value

string The cookie value.

File

src/PersistentToken.php, line 124

Class

PersistentToken
Class PersistentToken.

Namespace

Drupal\persistent_login

Code

public function __toString() {
  return $this->series . ':' . $this->instance;
}