Object/Element/CacheElement.php
public function unserialize($serialized)
    {
        $tmp = unserialize($serialized);
        
        $dateTime = new \DateTime();
        $dateTime->setTimestamp($tmp['timeOver']);
        
        $this->key = $tmp['key'];
        $this->timeOver = $dateTime;
        $this->content = $tmp['content'];
    }
public function unserialize($serialized)
    {
        $tmp = unserialize($serialized);
        
        $dateTime = new \DateTime();
        $dateTime->setTimestamp($tmp['timeOver']);
        
        $this->key = $tmp['key'];
        $this->timeOver = $dateTime;
        $this->content = $tmp['content'];
    }
Unserialize

Unserialize an
instance

@see Serializable::unserialize()