Elgg\PersistentLoginService::generateToken PHP Method

generateToken() protected method

The first char is always "z" to indicate the value has more entropy than the previously generated ones.
protected generateToken ( ) : string
return string
    protected function generateToken()
    {
        return 'z' . $this->crypto->getRandomString(31);
    }