mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-22 18:24:23 +00:00
31 lines
1.2 KiB
YAML
31 lines
1.2 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:
|
|
arguments:
|
|
$em: '@Doctrine\ORM\EntityManagerInterface'
|
|
$tokenStorage: '@Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface'
|
|
$authorizationHelper: '@Chill\MainBundle\Security\Authorization\AuthorizationHelper'
|