public function getInternalLinkContent()
{
$target = $this->getDocument()->getRedirectTarget();
if (!$target) {
throw new \RuntimeException(sprintf('No redirect target set on document at path "%s" with redirect type "%s"', $this->inspector->getPath($this->document), $this->document->getRedirectType()));
}
return $this->documentToStructure($target);
}