mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
113 lines
4.0 KiB
YAML
113 lines
4.0 KiB
YAML
parameters:
|
|
# cl_chill_main.example.class: Chill\MainBundle\Example
|
|
|
|
services:
|
|
_defaults:
|
|
autowire: true
|
|
autoconfigure: true
|
|
|
|
Chill\MainBundle\Repository\:
|
|
resource: '../Repository/'
|
|
|
|
Chill\MainBundle\Repository\UserACLAwareRepositoryInterface: '@Chill\MainBundle\Repository\UserACLAwareRepository'
|
|
|
|
Chill\MainBundle\Serializer\Normalizer\:
|
|
resource: '../Serializer/Normalizer'
|
|
tags:
|
|
- { name: 'serializer.normalizer', priority: 64 }
|
|
|
|
Chill\MainBundle\Form\Type\:
|
|
resource: '../Form/Type'
|
|
autoconfigure: true
|
|
autowire: true
|
|
|
|
Chill\MainBundle\Doctrine\Event\:
|
|
resource: '../Doctrine/Event/'
|
|
tags:
|
|
- { name: 'doctrine.event_subscriber' }
|
|
|
|
# workflow related
|
|
Chill\MainBundle\Workflow\:
|
|
resource: '../Workflow/'
|
|
autowire: true
|
|
autoconfigure: true
|
|
|
|
Chill\MainBundle\Workflow\EntityWorkflowManager:
|
|
autoconfigure: true
|
|
autowire: true
|
|
arguments:
|
|
$handlers: !tagged_iterator chill_main.workflow_handler
|
|
|
|
Chill\MainBundle\Workflow\EventSubscriber\SendAccessKeyEventSubscriber:
|
|
autoconfigure: true
|
|
autowire: true
|
|
tags:
|
|
-
|
|
name: 'doctrine.orm.entity_listener'
|
|
event: 'postPersist'
|
|
entity: 'Chill\MainBundle\Entity\Workflow\EntityWorkflowStep'
|
|
# set the 'lazy' option to TRUE to only instantiate listeners when they are used
|
|
lazy: true
|
|
|
|
# other stuffes
|
|
|
|
chill.main.helper.translatable_string:
|
|
class: Chill\MainBundle\Templating\TranslatableStringHelper
|
|
|
|
Chill\MainBundle\Templating\TranslatableStringHelper: '@chill.main.helper.translatable_string'
|
|
Chill\MainBundle\Templating\TranslatableStringHelperInterface: '@Chill\MainBundle\Templating\TranslatableStringHelper'
|
|
|
|
chill.main.twig.translatable_string:
|
|
class: Chill\MainBundle\Templating\TranslatableStringTwig
|
|
arguments:
|
|
- "@chill.main.helper.translatable_string"
|
|
calls:
|
|
- [ setContainer, ["@service_container"]]
|
|
tags:
|
|
- { name: twig.extension }
|
|
|
|
chill.main.twig.widget:
|
|
class: Chill\MainBundle\Templating\Widget\WidgetRenderingTwig
|
|
arguments:
|
|
- "@event_dispatcher"
|
|
tags:
|
|
- { name: twig.extension }
|
|
|
|
chill.main.twig.csv_cell:
|
|
class: Chill\MainBundle\Templating\CSVCellTwig
|
|
tags:
|
|
- { name: twig.extension }
|
|
|
|
chill.main.validator.role_scope_scope_presence:
|
|
class: Chill\MainBundle\Validation\Validator\RoleScopeScopePresence
|
|
arguments:
|
|
- "@chill.main.role_provider"
|
|
- "@logger"
|
|
- "@translator"
|
|
tags:
|
|
- { name: validator.constraint_validator, alias: 'role_scope_scope_presence' }
|
|
|
|
Chill\MainBundle\Export\ExportManager:
|
|
autoconfigure: true
|
|
autowire: true
|
|
arguments:
|
|
$exports: !tagged_iterator { tag: chill.export, index_by: alias }
|
|
$aggregators: !tagged_iterator { tag: chill.export_aggregator, index_by: alias }
|
|
$filters: !tagged_iterator { tag: chill.export_filter, index_by: alias }
|
|
# for an unknown reason, iterator_to_array($formatter) cause a segmentation fault error (php-fpm code 11). removed temporarily
|
|
# $formatters: !tagged_iterator { tag: chill.export_formatter, index_by: alias }
|
|
# remove until we can properly test it
|
|
# $exportElementProvider: !tagged_iterator { tag: chill.export_elements_provider, index_by: prefix }
|
|
|
|
Chill\MainBundle\Security\Resolver\CenterResolverDispatcherInterface: '@Chill\MainBundle\Security\Resolver\CenterResolverDispatcher'
|
|
|
|
Chill\MainBundle\Service\Import\:
|
|
resource: '../Service/Import/'
|
|
autowire: true
|
|
autoconfigure: true
|
|
|
|
Chill\MainBundle\Service\RollingDate\:
|
|
resource: '../Service/RollingDate/'
|
|
autowire: true
|
|
autoconfigure: true
|