User.php
public function getCacheTag()
    {
        return $this->cacheTagPrefix .
            ($this->isAttributeChanged($this->idAttribute) ? $this->getOldAttribute($this->idAttribute) : $this->getID());
    }
public function getCacheTag()
    {
        return $this->cacheTagPrefix .
            ($this->isAttributeChanged($this->idAttribute) ? $this->getOldAttribute($this->idAttribute) : $this->getID());
    }
public function getCacheTag ( ) { return $ this -> cacheTagPrefix . ( $ this -> isAttributeChanged ( $ this -> idAttribute ) ? $ this -> getOldAttribute ( $ this -> idAttribute ) : $ this -> getID ( ) ) ; }
Get cache tag.
The cache tag ends with the user ID, but after the user ID is modified, the old ID will prevail.
@return string
Get cache tag . The cache tag ends with the user ID but after the user ID is modified the old ID will prevail .