mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-02 21:13:57 +00:00
Import the UserGrou feature from ticket-app-master branch. This includes: - import all the entities and migrations, modification of typescript types, templating, and so on; - apply some verification and formatting rules, like: - reformat file on chill.api.specs.yaml (MainBundle) - reformat file on types.ts (Main Bundle) Migrations kept the same filename.
21 lines
656 B
YAML
21 lines
656 B
YAML
services:
|
|
_defaults:
|
|
autowire: true
|
|
autoconfigure: true
|
|
|
|
Chill\MainBundle\Validation\:
|
|
resource: '../../Validation'
|
|
|
|
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" }
|