private function getMessageBuilderCollectionServiceidList(ContainerBuilder $container)
    {
        $builderCollectionServiceIdList = [];

        $messageBuilderCollectionListDefinition = $container->findTaggedServiceIds('notification.message_builder_collection');
        foreach ($messageBuilderCollectionListDefinition as $builderCollectionServiceId => $builderCollectionDefinitionTags) {
            foreach ($builderCollectionDefinitionTags as $builderCollectionDefinitionTag) {
                $collectionName = empty($builderCollectionDefinitionTag['collectionName'])
                    ? 'default'
                    : $builderCollectionDefinitionTag['collectionName'];

                $builderCollectionServiceIdList[$collectionName] = $builderCollectionServiceId;
            }
        }

        return $builderCollectionServiceIdList;
    }
private function getMessageBuilderCollectionServiceidList(ContainerBuilder $container)
    {
        $builderCollectionServiceIdList = [];

        $messageBuilderCollectionListDefinition = $container->findTaggedServiceIds('notification.message_builder_collection');
        foreach ($messageBuilderCollectionListDefinition as $builderCollectionServiceId => $builderCollectionDefinitionTags) {
            foreach ($builderCollectionDefinitionTags as $builderCollectionDefinitionTag) {
                $collectionName = empty($builderCollectionDefinitionTag['collectionName'])
                    ? 'default'
                    : $builderCollectionDefinitionTag['collectionName'];

                $builderCollectionServiceIdList[$collectionName] = $builderCollectionServiceId;
            }
        }

        return $builderCollectionServiceIdList;
    }
private function getMessageBuilderCollectionServiceidList ( ContainerBuilder $ container ) { $ builderCollectionServiceIdList = [ ] ; $ messageBuilderCollectionListDefinition = $ container -> findTaggedServiceIds ( 'notification.message_builder_collection' ) ; foreach ( $ messageBuilderCollectionListDefinition as $ builderCollectionServiceId => $ builderCollectionDefinitionTags ) { foreach ( $ builderCollectionDefinitionTags as $ builderCollectionDefinitionTag ) { $ collectionName = empty ( $ builderCollectionDefinitionTag [ 'collectionName' ] ) ? 'default' : $ builderCollectionDefinitionTag [ 'collectionName' ] ; $ builderCollectionServiceIdList [ $ collectionName ] = $ builderCollectionServiceId ; } } return $ builderCollectionServiceIdList ; }
Get service ids of collections
Get service ids of collections