Remove obsolete repositories.yaml file.

This commit is contained in:
Pol Dellaiera 2021-06-11 12:29:41 +02:00
parent 1e72247546
commit 81e8a4562b
3 changed files with 4 additions and 37 deletions

View File

@ -115,7 +115,6 @@ class ChillMainExtension extends Extension implements PrependExtensionInterface,
$loader->load('services.yaml'); $loader->load('services.yaml');
$loader->load('services/doctrine.yaml'); $loader->load('services/doctrine.yaml');
$loader->load('services/logger.yaml'); $loader->load('services/logger.yaml');
$loader->load('services/repositories.yaml');
$loader->load('services/pagination.yaml'); $loader->load('services/pagination.yaml');
$loader->load('services/export.yaml'); $loader->load('services/export.yaml');
$loader->load('services/form.yaml'); $loader->load('services/form.yaml');

View File

@ -2,6 +2,9 @@ parameters:
# cl_chill_main.example.class: Chill\MainBundle\Example # cl_chill_main.example.class: Chill\MainBundle\Example
services: services:
_defaults:
autowire: true
autoconfigure: true
Chill\MainBundle\Serializer\Normalizer\: Chill\MainBundle\Serializer\Normalizer\:
resource: '../Serializer/Normalizer' resource: '../Serializer/Normalizer'
@ -12,7 +15,7 @@ services:
Chill\MainBundle\Doctrine\Event\: Chill\MainBundle\Doctrine\Event\:
resource: '../Doctrine/Event/' resource: '../Doctrine/Event/'
autowire: true autowire: true
tags: tags:
- { name: 'doctrine.event_subscriber' } - { name: 'doctrine.event_subscriber' }
chill.main.helper.translatable_string: chill.main.helper.translatable_string:

View File

@ -1,35 +0,0 @@
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'