````php
$container->addCompilerPass(
    DoctrineCouchDBMappingsPass::createXmlMappingDriver(
        $mappings,
        'fos_user.backend_type_couchdb'
    )
);
````