# Orm configuration
orm:
+ # Controller resolver
+ controller_resolver:
+ # Disable auto mapping
+ auto_mapping: false
+
# Replace repository factory
repository_factory: 'Rapsys\AirBundle\Factory'
Rapsys\UserBundle\Entity\Civility: 'Rapsys\AirBundle\Entity\Civility'
Rapsys\UserBundle\Entity\User: 'Rapsys\AirBundle\Entity\User'
+ # Force mappings
mappings:
# Map entities
# XXX: Entity short syntax was removed
tags: [ 'form.type' ]
# Register register form
Rapsys\AirBundle\Form\RegisterType:
- arguments: [ '@doctrine.orm.entity_manager' ]
+ arguments: [ '@doctrine.orm.entity_manager', '@rapsyspack.image_util', '@rapsyspack.slugger_util', '@translator' ]
tags: [ 'form.type' ]
# Register attribute command
Rapsys\AirBundle\Command\AttributeCommand: