Metadatadefinition helper is now properly injected instead of created by an entity
Simplified creating a Dto for a connection
Corrected check for symfony env