+ # 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: ~