mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-24 08:33:49 +00:00
add repository for center
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
Chill\MainBundle\Entity\Center:
|
||||
type: entity
|
||||
table: centers
|
||||
repositoryClass: Chill\MainBundle\Repository\CenterRepository
|
||||
id:
|
||||
id:
|
||||
type: integer
|
||||
|
@@ -24,4 +24,12 @@ services:
|
||||
- "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'
|
||||
|
Reference in New Issue
Block a user