This looks wrong to me. You are telling that ``$mappings`` is a hashmap of path to namespace and then passing it in a constructor argument documented as expecting a list of namespaces