public function setChangedForRestore(RestoreEvent $event)
    {
        $document = $event->getDocument();
        if (!$this->supports($document)) {
            return;
        }

        $encoding = $this->getPropertyEncoding($document);

        $event->getNode()->setProperty(
            $this->propertyEncoder->encode(
                $encoding,
                static::CHANGED,
                $this->documentInspector->getOriginalLocale($document)
            ),
            new \DateTime()
        );
    }