public static function generateToken()
    {
        $raw = self::getOpenSSLRandom();
        if (false === $raw) {
            $raw = self::getComplexRandom();
        }
        return md5($raw);
    }
public static function generateToken()
    {
        $raw = self::getOpenSSLRandom();
        if (false === $raw) {
            $raw = self::getComplexRandom();
        }
        return md5($raw);
    }
public static function generateToken ( ) { $ raw = self :: getOpenSSLRandom ( ) ; if ( false === $ raw ) { $ raw = self :: getComplexRandom ( ) ; } return md5 ( $ raw ) ; }
Same method as getToken but can be called statically

@alias getToken
@return string
Same method as getToken but can be called statically