- #Replace default package
- #XXX: set base path to /bundles/<bundlealias> and disable versioning
- assets._default_package:
- class: 'Rapsys\PackBundle\Asset\PathPackage'
- arguments: [ '/bundles/%%s', '@assets.empty_version_strategy', '@assets.context' ]
-# arguments: [ '/', '@assets.static_version_strategy', '@assets.context' ]
-# #Set version strategy
-# assets.static_version_strategy:
-# class: Symfony\Component\Asset\VersionStrategy\StaticVersionStrategy
-# arguments: [ 'x', '%%s?v=%%s' ]
+ Rapsys\AirBundle\Form\ApplicationType:
+ arguments: [ '@doctrine', '@translator' ]
+ tags: [ 'form.type' ]
+ Rapsys\AirBundle\Form\LocationType:
+ tags: [ 'form.type' ]
+ Rapsys\AirBundle\Form\SessionType:
+ arguments: [ '@doctrine' ]
+ tags: [ 'form.type' ]
+ Rapsys\AirBundle\Form\Extension\Type\HiddenEntityType:
+ arguments: [ '@doctrine' ]
+ tags: [ 'form.type' ]
+ Rapsys\AirBundle\Form\ContactType:
+ arguments: [ '@rapsys_pack.image_util', '@rapsys_pack.slugger_util', '@translator' ]
+ tags: [ 'form.type' ]
+ Rapsys\AirBundle\Form\RegisterType:
+ arguments: [ '@doctrine.orm.entity_manager' ]
+ tags: [ 'form.type' ]
+ Rapsys\AirBundle\Command\AttributeCommand:
+ arguments: [ '@doctrine' ]
+ tags: [ 'console.command' ]
+ Rapsys\AirBundle\Command\CalendarCommand:
+ arguments: [ '@doctrine', '@router', '@rapsys_pack.slugger_util', '@translator', 'airlibre', 0, '%kernel.project_dir%/var/cache', '%kernel.default_locale%' ]
+ tags: [ 'console.command' ]
+ Rapsys\AirBundle\Command\Calendar2Command:
+ arguments: [ '@doctrine', '@router', '@rapsys_pack.slugger_util', '@translator', '%kernel.default_locale%', '%env(string:GOOGLE_PROJECT)', '%env(string:GOOGLE_CLIENT)', '%env(string:GOOGLE_SECRET)' ]
+ tags: [ 'console.command' ]
+ Rapsys\AirBundle\Command\RekeyCommand:
+ arguments: [ '@doctrine' ]
+ tags: [ 'console.command' ]
+ Rapsys\AirBundle\Command\WeatherCommand:
+ arguments: [ '@doctrine', '@filesystem' ]
+ tags: [ 'console.command' ]
+ Rapsys\AirBundle\Factory:
+ arguments: [ '@request_stack', '@router', '@rapsys_pack.slugger_util', '@translator', '%kernel.default_locale%', '%rapsys_air.languages%' ]
+ Rapsys\UserBundle\Factory:
+ arguments: [ '@request_stack', '@router', '@rapsys_pack.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', '%rapsys_pack.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' ]