Identity/CacheSecurityIdentityManager.php
protected function buildId(TokenInterface $token)
    {
        $id = spl_object_hash($token);
        $listeners = $this->getCacheIdentityListeners();

        foreach ($listeners as $listener) {
            $id .= '_'.$listener->getCacheId();
        }

        return $id;
    }
protected function buildId(TokenInterface $token)
    {
        $id = spl_object_hash($token);
        $listeners = $this->getCacheIdentityListeners();

        foreach ($listeners as $listener) {
            $id .= '_'.$listener->getCacheId();
        }

        return $id;
    }
protected function buildId ( TokenInterface $ token ) { $ id = spl_object_hash ( $ token ) ; $ listeners = $ this -> getCacheIdentityListeners ( ) ; foreach ( $ listeners as $ listener ) { $ id .= '_' . $ listener -> getCacheId ( ) ; } return $ id ; }
Build the unique identifier for execution cache.

@param TokenInterface $token The token

@return string
Build the unique identifier for execution cache .