mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
fix folder name
This commit is contained in:
7
src/Bundle/ChillMainBundle/config/services/cache.yaml
Normal file
7
src/Bundle/ChillMainBundle/config/services/cache.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
services:
|
||||
chill_main.tag_aware_cache:
|
||||
class: Symfony\Component\Cache\Adapter\TagAwareAdapter
|
||||
arguments:
|
||||
- '@cache.user_data'
|
||||
- '@cache.tags'
|
||||
Symfony\Component\Cache\Adapter\TagAwareAdapter: '@chill_main.tag_aware_cache'
|
46
src/Bundle/ChillMainBundle/config/services/command.yaml
Normal file
46
src/Bundle/ChillMainBundle/config/services/command.yaml
Normal file
@@ -0,0 +1,46 @@
|
||||
services:
|
||||
Chill\MainBundle\Command\ChillImportUsersCommand:
|
||||
arguments:
|
||||
$em: '@Doctrine\ORM\EntityManagerInterface'
|
||||
$logger: '@Psr\Log\LoggerInterface'
|
||||
$passwordEncoder: '@Symfony\Component\Security\Core\Encoder\UserPasswordEncoderInterface'
|
||||
$validator: '@Symfony\Component\Validator\Validator\ValidatorInterface'
|
||||
tags:
|
||||
- { name: console.command }
|
||||
|
||||
Chill\MainBundle\Command\ChillUserSendRenewPasswordCodeCommand:
|
||||
arguments:
|
||||
$logger: '@Psr\Log\LoggerInterface'
|
||||
$em: '@Doctrine\ORM\EntityManagerInterface'
|
||||
$recoverPasswordHelper: '@Chill\MainBundle\Security\PasswordRecover\RecoverPasswordHelper'
|
||||
$eventDispatcher: '@Symfony\Component\EventDispatcher\EventDispatcherInterface'
|
||||
tags:
|
||||
- { name: console.command }
|
||||
|
||||
Chill\MainBundle\Command\LoadAndUpdateLanguagesCommand:
|
||||
arguments:
|
||||
$entityManager: '@doctrine.orm.entity_manager'
|
||||
$availableLanguages: '%chill_main.available_languages%'
|
||||
tags:
|
||||
- { name: console.command }
|
||||
|
||||
Chill\MainBundle\Command\LoadCountriesCommand:
|
||||
arguments:
|
||||
$entityManager: '@doctrine.orm.entity_manager'
|
||||
$availableLanguages: '%chill_main.available_languages%'
|
||||
tags:
|
||||
- { name: console.command }
|
||||
|
||||
|
||||
Chill\MainBundle\Command\LoadPostalCodesCommand:
|
||||
arguments:
|
||||
$entityManager: '@doctrine.orm.entity_manager'
|
||||
$validator: '@Symfony\Component\Validator\Validator\ValidatorInterface'
|
||||
tags:
|
||||
- { name: console.command }
|
||||
|
||||
Chill\MainBundle\Command\SetPasswordCommand:
|
||||
arguments:
|
||||
$entityManager: '@doctrine.orm.entity_manager'
|
||||
tags:
|
||||
- { name: console.command }
|
32
src/Bundle/ChillMainBundle/config/services/controller.yaml
Normal file
32
src/Bundle/ChillMainBundle/config/services/controller.yaml
Normal file
@@ -0,0 +1,32 @@
|
||||
services:
|
||||
|
||||
Chill\MainBundle\Controller\:
|
||||
autowire: true
|
||||
resource: '../../Controller'
|
||||
tags: ['controller.service_arguments']
|
||||
|
||||
Chill\MainBundle\Controller\PasswordController:
|
||||
autowire: true
|
||||
arguments:
|
||||
$chillLogger: '@monolog.logger.chill'
|
||||
tags: ['controller.service_arguments']
|
||||
|
||||
Chill\MainBundle\Controller\SearchController:
|
||||
arguments:
|
||||
$searchProvider: '@chill_main.search_provider'
|
||||
$translator: '@Symfony\Contracts\Translation\TranslatorInterface'
|
||||
$paginatorFactory: '@Chill\MainBundle\Pagination\PaginatorFactory'
|
||||
tags: ['controller.service_arguments']
|
||||
|
||||
Chill\MainBundle\Controller\PermissionsGroupController:
|
||||
arguments:
|
||||
$translatableStringHelper: '@Chill\MainBundle\Templating\TranslatableStringHelper'
|
||||
$roleProvider: '@chill.main.role_provider'
|
||||
$roleHierarchy: '@security.role_hierarchy'
|
||||
$translator: '@Symfony\Contracts\Translation\TranslatorInterface'
|
||||
tags: ['controller.service_arguments']
|
||||
|
||||
Chill\MainBundle\Controller\UserController:
|
||||
arguments:
|
||||
$logger: '@Psr\Log\LoggerInterface'
|
||||
tags: ['controller.service_arguments']
|
16
src/Bundle/ChillMainBundle/config/services/crud.yaml
Normal file
16
src/Bundle/ChillMainBundle/config/services/crud.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
services:
|
||||
Chill\MainBundle\CRUD\Routing\CRUDRoutesLoader:
|
||||
arguments:
|
||||
$config: '%chill_main_crud_route_loader_config%'
|
||||
tags: [ routing.loader ]
|
||||
|
||||
Chill\MainBundle\CRUD\Resolver\Resolver:
|
||||
arguments:
|
||||
$em: '@Doctrine\ORM\EntityManagerInterface'
|
||||
$crudConfig: '%chill_main_crud_route_loader_config%'
|
||||
|
||||
Chill\MainBundle\CRUD\Templating\TwigCRUDResolver:
|
||||
arguments:
|
||||
$resolver: '@Chill\MainBundle\CRUD\Resolver\Resolver'
|
||||
tags:
|
||||
- { name: twig.extension }
|
3
src/Bundle/ChillMainBundle/config/services/doctrine.yaml
Normal file
3
src/Bundle/ChillMainBundle/config/services/doctrine.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
services:
|
||||
'Chill\MainBundle\Doctrine\Migrations\VersionComparator': ~
|
46
src/Bundle/ChillMainBundle/config/services/export.yaml
Normal file
46
src/Bundle/ChillMainBundle/config/services/export.yaml
Normal file
@@ -0,0 +1,46 @@
|
||||
services:
|
||||
chill.main.export_element_validator:
|
||||
class: Chill\MainBundle\Validator\Constraints\Export\ExportElementConstraintValidator
|
||||
tags:
|
||||
- { name: validator.constraint_validator }
|
||||
|
||||
# deprecated in favor of spreadsheet_formatter
|
||||
# chill.main.export.csv_formatter:
|
||||
# class: Chill\MainBundle\Export\Formatter\CSVFormatter
|
||||
# arguments:
|
||||
# - "@translator"
|
||||
# tags:
|
||||
# - { name: chill.export_formatter, alias: 'csv' }
|
||||
|
||||
chill.main.export.spreadsheet_formatter:
|
||||
class: Chill\MainBundle\Export\Formatter\SpreadSheetFormatter
|
||||
arguments:
|
||||
$translatorInterface: '@Symfony\Component\Translation\TranslatorInterface'
|
||||
$exportManager: '@Chill\MainBundle\Export\ExportManager'
|
||||
tags:
|
||||
- { name: chill.export_formatter, alias: 'spreadsheet' }
|
||||
|
||||
chill.main.export.list_formatter:
|
||||
class: Chill\MainBundle\Export\Formatter\CSVListFormatter
|
||||
arguments:
|
||||
$translatorInterface: '@Symfony\Component\Translation\TranslatorInterface'
|
||||
$exportManager: '@Chill\MainBundle\Export\ExportManager'
|
||||
tags:
|
||||
- { name: chill.export_formatter, alias: 'csvlist' }
|
||||
|
||||
chill.main.export.list_spreadsheet_formatter:
|
||||
class: Chill\MainBundle\Export\Formatter\SpreadsheetListFormatter
|
||||
arguments:
|
||||
$translatorInterface: '@Symfony\Component\Translation\TranslatorInterface'
|
||||
$exportManager: '@Chill\MainBundle\Export\ExportManager'
|
||||
tags:
|
||||
- { name: chill.export_formatter, alias: 'spreadlist' }
|
||||
|
||||
chill.main.export.pivoted_list_formatter:
|
||||
class: Chill\MainBundle\Export\Formatter\CSVPivotedListFormatter
|
||||
arguments:
|
||||
$translatorInterface: '@Symfony\Component\Translation\TranslatorInterface'
|
||||
$exportManager: '@Chill\MainBundle\Export\ExportManager'
|
||||
tags:
|
||||
- { name: chill.export_formatter, alias: 'csv_pivoted_list' }
|
||||
|
4
src/Bundle/ChillMainBundle/config/services/fixtures.yaml
Normal file
4
src/Bundle/ChillMainBundle/config/services/fixtures.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
services:
|
||||
Chill\MainBundle\DataFixtures\ORM\:
|
||||
resource: ../../DataFixtures/ORM
|
||||
tags: [ 'doctrine.fixture.orm' ]
|
150
src/Bundle/ChillMainBundle/config/services/form.yaml
Normal file
150
src/Bundle/ChillMainBundle/config/services/form.yaml
Normal file
@@ -0,0 +1,150 @@
|
||||
services:
|
||||
chill.main.form.type.translatable.string:
|
||||
class: Chill\MainBundle\Form\Type\TranslatableStringFormType
|
||||
arguments:
|
||||
- "%chill_main.available_languages%"
|
||||
#- "%framework.translator.fallback%"
|
||||
- "@translator.default"
|
||||
tags:
|
||||
- { name: form.type, alias: translatable_string }
|
||||
|
||||
chill.main.form.type.select2choice:
|
||||
class: Chill\MainBundle\Form\Type\Select2ChoiceType
|
||||
tags:
|
||||
- {name: form.type, alias: select2_choice}
|
||||
|
||||
chill.main.form.type.select2entity:
|
||||
class: Chill\MainBundle\Form\Type\Select2EntityType
|
||||
tags:
|
||||
- {name: form.type, alias: select2_entity }
|
||||
|
||||
chill.main.form.type.select2country:
|
||||
class: Chill\MainBundle\Form\Type\Select2CountryType
|
||||
arguments:
|
||||
- "@request_stack"
|
||||
- "@doctrine.orm.entity_manager"
|
||||
tags:
|
||||
- { name: form.type, alias: select2_chill_country }
|
||||
|
||||
chill.main.form.type.select2language:
|
||||
class: Chill\MainBundle\Form\Type\Select2LanguageType
|
||||
arguments:
|
||||
- "@request_stack"
|
||||
- "@doctrine.orm.entity_manager"
|
||||
tags:
|
||||
- { name: form.type, alias: select2_chill_language }
|
||||
|
||||
chill.main.form.type.center:
|
||||
class: Chill\MainBundle\Form\Type\CenterType
|
||||
arguments:
|
||||
- "@security.token_storage"
|
||||
- "@chill.main.form.data_transformer.center_transformer"
|
||||
tags:
|
||||
- { name: form.type, alias: center }
|
||||
|
||||
chill.main.form.type.composed_role_scope:
|
||||
class: Chill\MainBundle\Form\Type\ComposedRoleScopeType
|
||||
arguments:
|
||||
- "@chill.main.helper.translatable_string"
|
||||
- "@chill.main.role_provider"
|
||||
tags:
|
||||
- { name: form.type, alias: composed_role_scope }
|
||||
|
||||
|
||||
chill.main.form.type.postal_code_type:
|
||||
class: Chill\MainBundle\Form\Type\PostalCodeType
|
||||
arguments:
|
||||
- "@chill.main.helper.translatable_string"
|
||||
- '@Symfony\Component\Routing\Generator\UrlGeneratorInterface'
|
||||
- '@chill.main.form.choice_loader.postal_code'
|
||||
- '@Symfony\Component\Translation\TranslatorInterface'
|
||||
tags:
|
||||
- { name: form.type }
|
||||
|
||||
chill.main.form.choice_loader.postal_code:
|
||||
class: Chill\MainBundle\Form\ChoiceLoader\PostalCodeChoiceLoader
|
||||
arguments:
|
||||
- '@Chill\MainBundle\Repository\PostalCodeRepository'
|
||||
|
||||
chill.main.form.type.export:
|
||||
class: Chill\MainBundle\Form\Type\Export\ExportType
|
||||
tags:
|
||||
- { name: form.type }
|
||||
arguments:
|
||||
- '@Chill\MainBundle\Export\ExportManager'
|
||||
|
||||
chill.main.form.pick_formatter_type:
|
||||
class: Chill\MainBundle\Form\Type\Export\PickFormatterType
|
||||
tags:
|
||||
- { name: form.type }
|
||||
arguments:
|
||||
- '@Chill\MainBundle\Export\ExportManager'
|
||||
|
||||
chill.main.form.pick_centers_type:
|
||||
class: Chill\MainBundle\Form\Type\Export\PickCenterType
|
||||
arguments:
|
||||
- "@security.token_storage"
|
||||
- '@Chill\MainBundle\Export\ExportManager'
|
||||
- "@chill.main.security.authorization.helper"
|
||||
tags:
|
||||
- { name: form.type }
|
||||
|
||||
chill.main.form.formatter_type:
|
||||
class: Chill\MainBundle\Form\Type\Export\FormatterType
|
||||
tags:
|
||||
- { name: form.type }
|
||||
arguments:
|
||||
- '@Chill\MainBundle\Export\ExportManager'
|
||||
|
||||
chill.main.form.date_type:
|
||||
class: Chill\MainBundle\Form\Type\ChillDateType
|
||||
tags:
|
||||
- { name: form.type }
|
||||
|
||||
chill.main.form.pick_user_type:
|
||||
class: Chill\MainBundle\Form\Type\UserPickerType
|
||||
arguments:
|
||||
- "@chill.main.security.authorization.helper"
|
||||
- "@security.token_storage"
|
||||
- "@chill.main.user_repository"
|
||||
tags:
|
||||
- { name: form.type }
|
||||
|
||||
chill.main.form.pick_scope_type:
|
||||
class: Chill\MainBundle\Form\Type\ScopePickerType
|
||||
arguments:
|
||||
- "@chill.main.security.authorization.helper"
|
||||
- "@security.token_storage"
|
||||
- "@chill.main.scope_repository"
|
||||
- "@chill.main.helper.translatable_string"
|
||||
tags:
|
||||
- { name: form.type }
|
||||
|
||||
chill.main.form.advanced_search_type:
|
||||
class: Chill\MainBundle\Form\AdvancedSearchType
|
||||
arguments:
|
||||
- "@chill_main.search_provider"
|
||||
tags:
|
||||
- { name: form.type }
|
||||
|
||||
Chill\MainBundle\Form\UserPasswordType:
|
||||
arguments:
|
||||
$chillLogger: '@monolog.logger.chill'
|
||||
$passwordEncoder: '@Symfony\Component\Security\Core\Encoder\UserPasswordEncoderInterface'
|
||||
tags:
|
||||
- { name: form.type }
|
||||
|
||||
Chill\MainBundle\Form\PermissionsGroupType:
|
||||
tags:
|
||||
- { name: form.type }
|
||||
|
||||
Chill\MainBundle\Form\Extension\CKEditorExtension:
|
||||
tags:
|
||||
- { name: form.type_extension, extended_type: Symfony\Component\Form\Extension\Core\Type\TextareaType }
|
||||
|
||||
chill.main.form.type.comment:
|
||||
class: Chill\MainBundle\Form\Type\CommentType
|
||||
arguments:
|
||||
- "@security.token_storage"
|
||||
tags:
|
||||
- { name: form.type }
|
4
src/Bundle/ChillMainBundle/config/services/logger.yaml
Normal file
4
src/Bundle/ChillMainBundle/config/services/logger.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
services:
|
||||
chill.main.logger:
|
||||
# a logger to log events from the app (deletion, remove, etc.)
|
||||
alias: monolog.logger.chill
|
19
src/Bundle/ChillMainBundle/config/services/menu.yaml
Normal file
19
src/Bundle/ChillMainBundle/config/services/menu.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
services:
|
||||
Chill\MainBundle\Routing\MenuBuilder\UserMenuBuilder:
|
||||
arguments:
|
||||
$tokenStorage: '@Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface'
|
||||
tags:
|
||||
- { name: 'chill.menu_builder' }
|
||||
|
||||
Chill\MainBundle\Routing\MenuBuilder\SectionMenuBuilder:
|
||||
arguments:
|
||||
$authorizationChecker: '@Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface'
|
||||
$translator: '@Symfony\Component\Translation\TranslatorInterface'
|
||||
tags:
|
||||
- { name: 'chill.menu_builder' }
|
||||
|
||||
Chill\MainBundle\Routing\MenuBuilder\AdminSectionMenuBuilder:
|
||||
arguments:
|
||||
$authorizationChecker: '@Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface'
|
||||
tags:
|
||||
- { name: 'chill.menu_builder' }
|
10
src/Bundle/ChillMainBundle/config/services/notification.yaml
Normal file
10
src/Bundle/ChillMainBundle/config/services/notification.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
services:
|
||||
Chill\MainBundle\Notification\Mailer:
|
||||
arguments:
|
||||
$logger: '@Psr\Log\LoggerInterface'
|
||||
$twig: '@Twig\Environment'
|
||||
$mailer: '@swiftmailer.mailer.default'
|
||||
# $mailerTransporter: '@swiftmailer.transport'
|
||||
$router: '@Symfony\Component\Routing\RouterInterface'
|
||||
$translator: '@Symfony\Component\Translation\TranslatorInterface'
|
||||
$routeParameters: '%chill_main.notifications%'
|
14
src/Bundle/ChillMainBundle/config/services/pagination.yaml
Normal file
14
src/Bundle/ChillMainBundle/config/services/pagination.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
services:
|
||||
chill_main.paginator_factory:
|
||||
class: Chill\MainBundle\Pagination\PaginatorFactory
|
||||
public: true
|
||||
arguments:
|
||||
- "@request_stack"
|
||||
- "@router"
|
||||
- "%chill_main.pagination.item_per_page%"
|
||||
Chill\MainBundle\Pagination\PaginatorFactory: '@chill_main.paginator_factory'
|
||||
|
||||
chill_main.paginator.twig_extensions:
|
||||
class: Chill\MainBundle\Pagination\ChillPaginationTwig
|
||||
tags:
|
||||
- { name: twig.extension }
|
19
src/Bundle/ChillMainBundle/config/services/phonenumber.yaml
Normal file
19
src/Bundle/ChillMainBundle/config/services/phonenumber.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
services:
|
||||
Chill\MainBundle\Phonenumber\PhonenumberHelper:
|
||||
arguments:
|
||||
$logger: '@Psr\Log\LoggerInterface'
|
||||
$config: '%chill_main.phone_helper%'
|
||||
$cachePool: '@cache.user_data'
|
||||
|
||||
Chill\MainBundle\Phonenumber\Templating:
|
||||
arguments:
|
||||
$phonenumberHelper: '@Chill\MainBundle\Phonenumber\PhonenumberHelper'
|
||||
tags:
|
||||
- { name: twig.extension }
|
||||
|
||||
Chill\MainBundle\Validation\Validator\ValidPhonenumber:
|
||||
arguments:
|
||||
$logger: '@Psr\Log\LoggerInterface'
|
||||
$phonenumberHelper: '@Chill\MainBundle\Phonenumber\PhonenumberHelper'
|
||||
tags:
|
||||
- { name: validator.constraint_validator }
|
10
src/Bundle/ChillMainBundle/config/services/redis.yaml
Normal file
10
src/Bundle/ChillMainBundle/config/services/redis.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
services:
|
||||
Chill\MainBundle\Redis\RedisConnectionFactory:
|
||||
arguments:
|
||||
$parameters: "%chill_main.redis%"
|
||||
tags:
|
||||
- { name: kernel.event_subcriber }
|
||||
|
||||
Chill\MainBundle\Redis\ChillRedis:
|
||||
factory: [ '@Chill\MainBundle\Redis\RedisConnectionFactory', 'create' ]
|
||||
|
35
src/Bundle/ChillMainBundle/config/services/repositories.yaml
Normal file
35
src/Bundle/ChillMainBundle/config/services/repositories.yaml
Normal file
@@ -0,0 +1,35 @@
|
||||
services:
|
||||
chill.main.countries_repository:
|
||||
class: Doctrine\ORM\EntityRepository
|
||||
factory: ["@doctrine.orm.entity_manager", getRepository]
|
||||
arguments:
|
||||
- "Chill\\MainBundle\\Entity\\Country"
|
||||
|
||||
chill.main.user_repository:
|
||||
class: Doctrine\ORM\EntityRepository
|
||||
factory: ["@doctrine.orm.entity_manager", getRepository]
|
||||
arguments:
|
||||
- "Chill\\MainBundle\\Entity\\User"
|
||||
|
||||
chill.main.scope_repository:
|
||||
class: Doctrine\ORM\EntityRepository
|
||||
factory: ["@doctrine.orm.entity_manager", getRepository]
|
||||
arguments:
|
||||
- "Chill\\MainBundle\\Entity\\Scope"
|
||||
|
||||
chill.main.postalcode_repository:
|
||||
class: Doctrine\ORM\EntityRepository
|
||||
factory: ["@doctrine.orm.entity_manager", getRepository]
|
||||
arguments:
|
||||
- "Chill\\MainBundle\\Entity\\PostalCode"
|
||||
|
||||
Chill\MainBundle\Repository\PostalCodeRepository: '@chill.main.postalcode_repository'
|
||||
|
||||
chill.main.center_repository:
|
||||
class: Doctrine\ORM\EntityRepository
|
||||
factory: ["@doctrine.orm.entity_manager", getRepository]
|
||||
arguments:
|
||||
- "Chill\\MainBundle\\Entity\\Center"
|
||||
|
||||
Chill\MainBundle\Repository\CenterRepository: '@chill.main.center_repository'
|
||||
|
24
src/Bundle/ChillMainBundle/config/services/routing.yaml
Normal file
24
src/Bundle/ChillMainBundle/config/services/routing.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
services:
|
||||
chill.main.menu_composer:
|
||||
class: Chill\MainBundle\Routing\MenuComposer
|
||||
arguments:
|
||||
- '@Symfony\Component\Routing\RouterInterface'
|
||||
- '@Knp\Menu\FactoryInterface'
|
||||
- '@Symfony\Component\Translation\TranslatorInterface'
|
||||
Chill\MainBundle\Routing\MenuComposer: '@chill.main.menu_composer'
|
||||
|
||||
chill.main.routes_loader:
|
||||
class: Chill\MainBundle\Routing\Loader\ChillRoutesLoader
|
||||
arguments:
|
||||
- "%chill_main.routing.resources%"
|
||||
tags:
|
||||
- { name: routing.loader }
|
||||
|
||||
chill.main.twig.chill_menu:
|
||||
class: Chill\MainBundle\Routing\MenuTwig
|
||||
arguments:
|
||||
- "@chill.main.menu_composer"
|
||||
calls:
|
||||
- [setContainer, ["@service_container"]]
|
||||
tags:
|
||||
- { name: twig.extension }
|
3
src/Bundle/ChillMainBundle/config/services/search.yaml
Normal file
3
src/Bundle/ChillMainBundle/config/services/search.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
services:
|
||||
chill_main.search_provider:
|
||||
class: Chill\MainBundle\Search\SearchProvider
|
52
src/Bundle/ChillMainBundle/config/services/security.yaml
Normal file
52
src/Bundle/ChillMainBundle/config/services/security.yaml
Normal file
@@ -0,0 +1,52 @@
|
||||
services:
|
||||
chill.main.security.authorization.helper:
|
||||
class: Chill\MainBundle\Security\Authorization\AuthorizationHelper
|
||||
arguments:
|
||||
$roleHierarchy: "@security.role_hierarchy"
|
||||
$hierarchy: "%security.role_hierarchy.roles%"
|
||||
$em: '@Doctrine\ORM\EntityManagerInterface'
|
||||
Chill\MainBundle\Security\Authorization\AuthorizationHelper: '@chill.main.security.authorization.helper'
|
||||
|
||||
chill.main.role_provider:
|
||||
class: Chill\MainBundle\Security\RoleProvider
|
||||
|
||||
chill.main.user_provider:
|
||||
class: Chill\MainBundle\Security\UserProvider\UserProvider
|
||||
arguments:
|
||||
$em: '@Doctrine\ORM\EntityManagerInterface'
|
||||
|
||||
Chill\MainBundle\Security\Authorization\ChillExportVoter:
|
||||
arguments:
|
||||
$authorizationHelper: '@Chill\MainBundle\Security\Authorization\AuthorizationHelper'
|
||||
tags:
|
||||
- { name: security.voter }
|
||||
|
||||
Chill\MainBundle\Security\PasswordRecover\TokenManager:
|
||||
arguments:
|
||||
$secret: '%kernel.secret%'
|
||||
$logger: '@Psr\Log\LoggerInterface'
|
||||
|
||||
Chill\MainBundle\Security\PasswordRecover\RecoverPasswordHelper:
|
||||
arguments:
|
||||
$tokenManager: '@Chill\MainBundle\Security\PasswordRecover\TokenManager'
|
||||
$urlGenerator: '@Symfony\Component\Routing\Generator\UrlGeneratorInterface'
|
||||
$mailer: '@Chill\MainBundle\Notification\Mailer'
|
||||
$routeParameters: "%chill_main.notifications%"
|
||||
|
||||
Chill\MainBundle\Security\PasswordRecover\PasswordRecoverEventSubscriber:
|
||||
arguments:
|
||||
$locker: '@Chill\MainBundle\Security\PasswordRecover\PasswordRecoverLocker'
|
||||
tags:
|
||||
- { name: kernel.event_subscriber }
|
||||
|
||||
Chill\MainBundle\Security\PasswordRecover\PasswordRecoverLocker:
|
||||
arguments:
|
||||
$chillRedis: '@Chill\MainBundle\Redis\ChillRedis'
|
||||
$logger: '@Psr\Log\LoggerInterface'
|
||||
|
||||
Chill\MainBundle\Security\PasswordRecover\PasswordRecoverVoter:
|
||||
arguments:
|
||||
$locker: '@Chill\MainBundle\Security\PasswordRecover\PasswordRecoverLocker'
|
||||
$requestStack: '@Symfony\Component\HttpFoundation\RequestStack'
|
||||
tags:
|
||||
- { name: security.voter }
|
38
src/Bundle/ChillMainBundle/config/services/templating.yaml
Normal file
38
src/Bundle/ChillMainBundle/config/services/templating.yaml
Normal file
@@ -0,0 +1,38 @@
|
||||
services:
|
||||
# twig_intl:
|
||||
# class: Twig_Extensions_Extension_Intl
|
||||
# tags:
|
||||
# - { name: twig.extension }
|
||||
#
|
||||
# twig_date:
|
||||
# class: Twig_Extensions_Extension_Date
|
||||
# arguments:
|
||||
# - "@translator"
|
||||
# tags:
|
||||
# - { name: twig.extension }
|
||||
#
|
||||
# twig_text:
|
||||
# class: Twig_Extensions_Extension_Text
|
||||
# tags:
|
||||
# - { name: twig.extension }
|
||||
|
||||
Chill\MainBundle\Templating\ChillTwigHelper:
|
||||
tags:
|
||||
- { name: twig.extension }
|
||||
|
||||
Chill\MainBundle\Templating\ChillTwigRoutingHelper:
|
||||
arguments:
|
||||
$requestStack: '@Symfony\Component\HttpFoundation\RequestStack'
|
||||
$originalExtension: '@twig.extension.routing'
|
||||
tags:
|
||||
- { name: twig.extension }
|
||||
|
||||
Chill\MainBundle\Templating\Entity\ChillEntityRenderExtension:
|
||||
tags:
|
||||
- { name: twig.extension }
|
||||
|
||||
Chill\MainBundle\Templating\Entity\CommentRender:
|
||||
arguments:
|
||||
- '@chill.main.user_repository'
|
||||
tags:
|
||||
- { name: 'chill.render_entity' }
|
7
src/Bundle/ChillMainBundle/config/services/timeline.yaml
Normal file
7
src/Bundle/ChillMainBundle/config/services/timeline.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
services:
|
||||
chill_main.timeline_builder:
|
||||
class: Chill\MainBundle\Timeline\TimelineBuilder
|
||||
arguments:
|
||||
- "@doctrine.orm.entity_manager"
|
||||
calls:
|
||||
- [ setContainer, ["@service_container"]]
|
13
src/Bundle/ChillMainBundle/config/services/validator.yaml
Normal file
13
src/Bundle/ChillMainBundle/config/services/validator.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
services:
|
||||
chill_main.validator_user_circle_consistency:
|
||||
class: Chill\MainBundle\Validator\Constraints\Entity\UserCircleConsistencyValidator
|
||||
arguments:
|
||||
- "@chill.main.security.authorization.helper"
|
||||
tags:
|
||||
- { name: "validator.constraint_validator" }
|
||||
|
||||
Chill\MainBundle\Validation\Validator\UserUniqueEmailAndUsername:
|
||||
arguments:
|
||||
$em: '@Doctrine\ORM\EntityManagerInterface'
|
||||
tags:
|
||||
- { name: "validator.constraint_validator" }
|
2
src/Bundle/ChillMainBundle/config/services/widget.yaml
Normal file
2
src/Bundle/ChillMainBundle/config/services/widget.yaml
Normal file
@@ -0,0 +1,2 @@
|
||||
services:
|
||||
Chill\MainBundle\Templating\UI\CountNotificationUser: ~
|
Reference in New Issue
Block a user