private static function getContentValue(AbstractClassContent $content, $indexedElement)
    {
        $value = $owner = $content;
        $elements = explode('->', $indexedElement);
        foreach ($elements as $element) {
            $value = $value->getData($element);
            if (!$value instanceof AbstractClassContent) {
                break;
            }

            if (!self::$em->contains($value)) {
                $value = self::$em->find(get_class($value), $value->getUid());
            }

            $owner = $value;
        }

        return [$value, $owner];
    }