X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/blobdiff_plain/1e5dcfe93fb41957381b5ed485ad3e49b1ea7b50..HEAD:/Resources/config/packages/rapsysair.yaml diff --git a/Resources/config/packages/rapsysair.yaml b/Resources/config/packages/rapsysair.yaml index ee6ce47..151ec25 100644 --- a/Resources/config/packages/rapsysair.yaml +++ b/Resources/config/packages/rapsysair.yaml @@ -127,6 +127,11 @@ doctrine: # Orm configuration orm: + # Controller resolver + controller_resolver: + # Disable auto mapping + auto_mapping: false + # Replace repository factory repository_factory: 'Rapsys\AirBundle\Factory' @@ -137,6 +142,7 @@ doctrine: 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 @@ -343,7 +349,7 @@ services: 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: @@ -351,11 +357,7 @@ services: tags: [ 'console.command' ] # Register calendar command Rapsys\AirBundle\Command\CalendarCommand: - arguments: [ '@doctrine', '%kernel.default_locale%', '@router', '@rapsyspack.slugger_util', '@translator', 'airlibre', 0, '%kernel.project_dir%/var/cache' ] - tags: [ 'console.command' ] - # Register calendar2 command - Rapsys\AirBundle\Command\Calendar2Command: - arguments: [ '@doctrine', '%kernel.default_locale%', '@router', '@rapsyspack.slugger_util', '@translator', '@google.client', '@twig.markdown.default' ] + arguments: [ '@doctrine', '%kernel.default_locale%', '@router', '@rapsyspack.slugger_util', '@translator', '@user.cache', '@google.client', '@twig.markdown.default' ] tags: [ 'console.command' ] # Register rekey command Rapsys\AirBundle\Command\RekeyCommand: