+ # Register location form
+ Rapsys\AirBundle\Form\LocationType:
+ tags: [ 'form.type' ]
+ # Register session form
+ Rapsys\AirBundle\Form\SessionType:
+ arguments: [ '@doctrine' ]
+ tags: [ 'form.type' ]
+ # Register hidden entity form type
+ Rapsys\AirBundle\Form\Extension\Type\HiddenEntityType:
+ arguments: [ '@doctrine' ]
+ tags: [ 'form.type' ]
+ # Register contact form
+ Rapsys\AirBundle\Form\ContactType:
+ arguments: [ '@rapsyspack.image_util', '@rapsyspack.slugger_util', '@translator' ]
+ tags: [ 'form.type' ]
+ # Register register form
+ Rapsys\AirBundle\Form\RegisterType:
+ arguments: [ '@doctrine.orm.entity_manager' ]
+ tags: [ 'form.type' ]
+ # Register attribute command
+ Rapsys\AirBundle\Command\AttributeCommand:
+ arguments: [ '@doctrine' ]
+ tags: [ 'console.command' ]
+ # Register calendar command
+ Rapsys\AirBundle\Command\CalendarCommand:
+ arguments: [ '@doctrine', '@router', '@rapsyspack.slugger_util', '@translator', 'airlibre', 0, '%kernel.project_dir%/var/cache', '%kernel.default_locale%' ]
+ tags: [ 'console.command' ]
+ # Register calendar2 command
+ Rapsys\AirBundle\Command\Calendar2Command:
+ arguments: [ '@doctrine', '@router', '@rapsyspack.slugger_util', '@translator', '%kernel.default_locale%', '%env(string:GOOGLE_PROJECT)', '%env(string:GOOGLE_CLIENT)', '%env(string:GOOGLE_SECRET)' ]
+ tags: [ 'console.command' ]
+ # Register rekey command
+ Rapsys\AirBundle\Command\RekeyCommand:
+ arguments: [ '@doctrine' ]
+ tags: [ 'console.command' ]
+ # Register weather command
+ Rapsys\AirBundle\Command\WeatherCommand:
+ arguments: [ '@doctrine', '@filesystem' ]
+ tags: [ 'console.command' ]
+ # Register repository factory
+ Rapsys\AirBundle\Factory:
+ arguments: [ '@request_stack', '@router', '@rapsyspack.slugger_util', '@translator', '%kernel.default_locale%', '%rapsys_air.languages%' ]
+ # Register facebook util service
+ rapsys_air.facebook_util:
+ class: 'Rapsys\PackBundle\Util\FacebookUtil'
+ arguments: [ '@router', '%kernel.project_dir%/var/cache', '%rapsyspack.path%', 'facebook', '%rapsys_air.path%/png/facebook.png', { irishgrover: '%rapsys_air.path%/ttf/irishgrover.v10.ttf', labelleaurore: '%rapsys_air.path%/ttf/labelleaurore.v10.ttf', dejavusans: '%rapsys_air.path%/ttf/dejavusans.2.37.ttf', droidsans: '%rapsys_air.path%/ttf/droidsans.regular.ttf' } ]
+ public: true
+ # Register security password_hasher_factory as public
+ # XXX: required for command `php bin/console doctrine:`
+ security.password_hasher_factory:
+ class: 'Symfony\Component\PasswordHasher\Hasher\PasswordHasherFactory'
+ arguments: [ { 'Rapsys\AirBundle\Entity\User': { class: 'Symfony\Component\PasswordHasher\Hasher\NativePasswordHasher', arguments: [ ~, ~, ~, '2y'] } } ]
+ public: true
+ # Register facebook event subscriber
+ Rapsys\PackBundle\Subscriber\FacebookSubscriber:
+ arguments: [ '@router', '%rapsys_air.locales%' ]
+ tags: [ 'kernel.event_subscriber' ]
+ # Register dotenv:dump command
+ Symfony\Component\Dotenv\Command\DotenvDumpCommand: ~