mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 05:44:24 +00:00
creating entity repository for users
I also re-arranged the configuration of repositories to a dedicated file, which should improve readability.
This commit is contained in:
parent
384cb6c793
commit
8aa37c7b73
12
Resources/config/services/repositories.yml
Normal file
12
Resources/config/services/repositories.yml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
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"
|
Loading…
x
Reference in New Issue
Block a user