protected function getFQCN($entity_name)
    {
        $parts = explode(':', $entity_name);
        $entity = end($parts);

        if (1 === preg_match('/^([A-Z][a-zA-Z]+)([A-Z][a-zA-Z]+)(Bundle)$/', $parts[0], $matches)) {
            return $matches[1].'\\'.$matches[2].$matches[3].'\\Entity\\'.$entity;
        }

        return $entity_name;
    }