mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-21 17:54:24 +00:00
100 lines
3.2 KiB
YAML
100 lines
3.2 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:
|
|
arguments:
|
|
- "@logger"
|
|
- "@doctrine.orm.entity_manager"
|
|
- "@security.authorization_checker"
|
|
- "@chill.main.security.authorization.helper"
|
|
- "@security.token_storage"
|
|
|
|
Chill\MainBundle\Security\Resolver\CenterResolverDispatcherInterface: '@Chill\MainBundle\Security\Resolver\CenterResolverDispatcher'
|
|
|