mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-27 20:46:14 +00:00
The controller now register data from a previous post on the form, and register it in the session. The next post compare the data with previous one and, if yes, show a review page if there are "alternate persons.
33 lines
1.1 KiB
YAML
33 lines
1.1 KiB
YAML
services:
|
|
chill.person.search_person:
|
|
class: Chill\PersonBundle\Search\PersonSearch
|
|
arguments:
|
|
- "@doctrine.orm.entity_manager"
|
|
- "@security.token_storage"
|
|
- "@chill.main.security.authorization.helper"
|
|
- "@chill_main.paginator_factory"
|
|
calls:
|
|
- ['setContainer', ["@service_container"]]
|
|
tags:
|
|
- { name: chill.search, alias: 'person_regular' }
|
|
|
|
Chill\PersonBundle\Search\SimilarityPersonSearch:
|
|
arguments:
|
|
- "@doctrine.orm.entity_manager"
|
|
- "@security.token_storage"
|
|
- "@chill.main.security.authorization.helper"
|
|
- "@chill_main.paginator_factory"
|
|
- '@chill.person.search_person'
|
|
calls:
|
|
- ['setContainer', ["@service_container"]]
|
|
tags:
|
|
- { name: chill.search, alias: 'person_similarity' }
|
|
|
|
Chill\PersonBundle\Search\SimilarPersonMatcher:
|
|
autowire: true
|
|
autoconfigure: true
|
|
|
|
Chill\PersonBundle\Search\SearchPersonApiProvider:
|
|
autowire: true
|
|
autoconfigure: true
|