parameters: liip_imagine.controller.class: AppBundle\Controller\ImagineController services: gedmo.listener.sluggable: class: Gedmo\Sluggable\SluggableListener tags: - { name: doctrine.event_subscriber, connection: default } calls: - [ setAnnotationReader, [ '@annotation_reader' ] ] gedmo.listener.timestampable: class: Gedmo\Timestampable\TimestampableListener tags: - { name: doctrine.event_subscriber, connection: default } calls: - [ setAnnotationReader, [ '@annotation_reader' ] ] gedmo.listener.tree: class: Gedmo\Tree\TreeListener tags: - { name: doctrine.event_subscriber, connection: default } calls: - [ setAnnotationReader, [ "@annotation_reader" ] ] twig.extension.intl: class: Twig_Extensions_Extension_Intl tags: - { name: twig.extension } app.listener.domain_redirect: class: AdminBundle\EventListener\DomainRedirect arguments: ["@router", '@session'] tags: - { name: kernel.event_listener, event: kernel.exception, method: onKernelException } app.listener.kernel_request: class: AdminBundle\EventListener\KernelRequestListener arguments: ['@session', '@request_stack', '@doctrine.orm.entity_manager', '@service_container'] tags: - { name: kernel.event_listener, event: kernel.request, method: onKernelRequest } app.services.post_service: class: AppBundle\Services\PostService arguments: ['@doctrine.orm.entity_manager', '@session', '@request_stack'] app.pluralization: class: AdminBundle\Services\Pluralization app.paywall: class: AppBundle\Services\PayWallService arguments: ['@doctrine.orm.entity_manager'] app.auth: class: AppBundle\Services\AuthService arguments: ['@session', '@security.token_storage', '@event_dispatcher', '@request_stack'] app.domain_checker: class: AdminBundle\Services\DomainChecker arguments: ['@doctrine.orm.entity_manager', '@session'] app.event_listener.author_log: class: AdminBundle\EventListener\AuthorLogListener tags: - { name: doctrine.event_listener, event: preUpdate } app.services.comments: class: AppBundle\Services\CommentsService arguments: ['@doctrine.orm.entity_manager'] app.services.ask_expert: class: AppBundle\Services\AskExpertService arguments: ['@mailer'] app.services.domain_styles: class: AdminBundle\Services\DomainStyles arguments: ['@doctrine.orm.entity_manager', '@kernel'] app.search_service: class: AppBundle\Services\SearchService arguments: ['@service_container'] app.filters_service: class: AdminBundle\Services\FilterService arguments: ['@form.factory', '@request_stack', '@lexik_form_filter.query_builder_updater'] app.twig.post_path: class: AppBundle\Twig\PostPathExtension arguments: ['@router'] tags: - { name: twig.extension } app.twig.imagick: class: AppBundle\Twig\ImagickExtension tags: - { name: twig.extension } app.twig.image: class: AppBundle\Twig\ImageExtension tags: - { name: twig.extension } app.twig.valid_xml: class: AppBundle\Twig\XML tags: - { name: twig.extension } app.twig.https_converter: class: AppBundle\Twig\httpConverter arguments: ['%schema%'] tags: - { name: twig.extension } app.twig.truncate: class: AppBundle\Twig\TrimExtension arguments: ['@app.paywall'] tags: - { name: twig.extension } app.twig.monthName: class: AppBundle\Twig\MonthExtension tags: - { name: twig.extension } app.twig.dataLayers: class: AppBundle\Twig\DataLayersExtension tags: - { name: twig.extension } app.twig.array_unique: class: AppBundle\Twig\ArrayUniqueExtension tags: - { name: twig.extension } # app.user_provider: # class: AdminBundle\Services\UserProvider # arguments: ['@app.auth'] app.user_provider: class: AdminBundle\Services\UserProvider arguments: ['@app.user_manager'] app.subscriptions_user_provider: class: AdminBundle\Services\SubscriptionUserProvider arguments: ['@app.auth'] app.user_manager: class: AdminBundle\Services\UserManager arguments: ['@security.encoder_factory', '@doctrine.orm.entity_manager', '@app.mailer'] app.mailer: class: AdminBundle\Services\Mailer arguments: ['@mailer', '@twig', {'%mailer_from%': 'CMS'}, '%mailer_subject_prefix%'] post_voter: class: AppBundle\Voter\PostVoter arguments: ['@fm_gos.access_service', '@doctrine.orm.entity_manager'] tags: - { name: security.voter } access_voter: class: AdminBundle\Voter\AccessVoter arguments: ['@doctrine.orm.entity_manager', '@security.token_storage', '@app.domain_checker'] tags: - { name: security.voter } release_voter: class: AppBundle\Voter\ReleaseVoter arguments: ['@fm_gos.access_service'] tags: - { name: security.voter } extras_voter: class: AppBundle\Voter\ExtrasVoter arguments: ['@fm_gos.access_service'] tags: - { name: security.voter } domain_voter: class: AppBundle\Voter\DomainVoter arguments: ['@fm_gos.access_service'] tags: - { name: security.voter } custom_slug_validator: class: AdminBundle\Validator\CustomSlugValidator arguments: ["@doctrine.orm.entity_manager", "@app.domain_checker"] tags: - { name: validator.constraint_validator, alias: custom_slug } app.post_filter_form: class: AdminBundle\Form\Filters\PostFilterType arguments: ['@app.domain_checker'] tags: [form.type] app.twig.instance: class: AppBundle\Twig\InstanceOfExtension arguments: [] tags: - { name: twig.extension } diff: class: AppBundle\Services\Diff app.twig.app_extension: class: AppBundle\Twig\DiffExtension arguments: ['@diff'] public: false tags: - { name: twig.extension } app.twig.webp: class: AppBundle\Twig\WebPExtension arguments: ['@request_stack', '%schema%'] tags: - { name: twig.extension } imagine.cache.resolver.my_custom: class: AppBundle\Imagine\Cache\CustomCacheResolver parent: liip_imagine.cache.resolver.default tags: - { name: "liip_imagine.cache.resolver", resolver: custom_cache_resolver } app.http_converter_listener: class: AppBundle\EventListener\HttpConverterListener tags: - { name: kernel.event_subscriber, event: liip_imagine.post_resolve, method: imagineEventsHttpConvert } arguments: - "@service_container" liip_imagine.controller: class: '%liip_imagine.controller.class%' arguments: - '@liip_imagine.data.manager' - '@liip_imagine.filter.manager' - '@liip_imagine.cache.manager' - '@liip_imagine.cache.signer' - '@logger' - '%liip_imagine.controller.redirect_response_code%' - '%kernel.environment%' app.http_converter_listener: class: AppBundle\EventListener\HttpConverterListener tags: - { name: kernel.event_subscriber, event: liip_imagine.post_resolve, method: imagineEventsHttpConvert } arguments: - "@service_container"