public static function create(
        array $entities,
        string $bundleNamespace,
        string $componentNamespace,
        string $containerPrefix = '',
        string $managerName = 'default',
        string $containerObjectManagerName = 'object_manager',
        string $containerObjectRepositoryName = 'object_repository',
        bool $isOverwritable = false
    ): MappingBagCollection {
        $mappingBagCollection = new self();
        foreach ($entities as $entityName => $entityClass) {
            $mappingBagCollection
                ->addMappingBag(new MappingBag(
                    $bundleNamespace,
                    $componentNamespace,
                    $entityName,
                    $entityClass,
                    'Resources/config/doctrine/'.$entityClass.'.orm.yml',
                    $managerName,
                    true,
                    $containerObjectManagerName,
                    $containerObjectRepositoryName,
                    $containerPrefix,
                    $isOverwritable
                ));
        }

        return $mappingBagCollection;
    }