mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-24 00:23:50 +00:00
deprecated, fix useless repository service definition
This commit is contained in:
@@ -40,7 +40,6 @@ services:
|
||||
chill.person.form.type.pick_person:
|
||||
class: Chill\PersonBundle\Form\Type\PickPersonType
|
||||
arguments:
|
||||
- "@chill.person.repository.person"
|
||||
- "@security.token_storage"
|
||||
- "@chill.main.security.authorization.helper"
|
||||
- '@Symfony\Component\Routing\Generator\UrlGeneratorInterface'
|
||||
|
@@ -1,11 +1,5 @@
|
||||
services:
|
||||
chill.person.repository.person:
|
||||
class: Chill\PersonBundle\Person\PersonRepository
|
||||
deprecated: the service '%service_id%' is deprecated since 2019-10-30 and will be removed soon. Use 'Chill\PersonBundle\Repository\PersonRepository' instead
|
||||
factory: ['@doctrine.orm.entity_manager', getRepository]
|
||||
arguments:
|
||||
- 'Chill\PersonBundle\Entity\Person'
|
||||
|
||||
|
||||
Chill\PersonBundle\Repository\PersonRepository:
|
||||
class: Chill\PersonBundle\Person\PersonRepository
|
||||
factory: ['@doctrine.orm.entity_manager', getRepository]
|
||||
@@ -17,5 +11,5 @@ services:
|
||||
factory: ['@doctrine.orm.entity_manager', getRepository]
|
||||
arguments:
|
||||
- 'Chill\PersonBundle\Entity\AccompanyingPeriod\ClosingMotive'
|
||||
tag:
|
||||
tags:
|
||||
- { name: doctrine.repository_service }
|
||||
|
@@ -2,7 +2,6 @@ services:
|
||||
chill_person.widget.person_list:
|
||||
class: Chill\PersonBundle\Widget\PersonListWidget
|
||||
arguments:
|
||||
- "@chill.person.repository.person"
|
||||
- "@doctrine.orm.entity_manager"
|
||||
- "@chill.main.security.authorization.helper"
|
||||
- "@security.token_storage"
|
||||
|
Reference in New Issue
Block a user