protected function getContentByDataValue($type, $value)
    {
        $element = new $type($value);

        if (null !== $this->em) {
            $element = $this->em->getRepository($type)->load($element, $this->token);
        }

        return $element;
    }