-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use service factory syntax introduced in Symfony 2.6.
- Loading branch information
Reinier Kip
committed
Jun 3, 2015
1 parent
64775de
commit ee3a4a1
Showing
4 changed files
with
18 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 4 additions & 6 deletions
10
src/Surfnet/StepupMiddleware/GatewayBundle/Resources/config/repositories.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
services: | ||
middleware.gateway_repository.saml_entities: | ||
class: Surfnet\StepupMiddleware\GatewayBundle\Entity\SamlEntityRepository | ||
factory_service: doctrine.orm.gateway_entity_manager | ||
factory_method: getRepository | ||
class: Surfnet\StepupMiddleware\GatewayBundle\Entity\SamlEntityRepository | ||
factory: [@doctrine.orm.gateway_entity_manager, getRepository] | ||
arguments: | ||
- 'Surfnet\StepupMiddleware\GatewayBundle\Entity\SamlEntity' | ||
|
||
middleware.gateway_repository.second_factors: | ||
class: Surfnet\StepupMiddleware\GatewayBundle\Repository\SecondFactorRepository | ||
factory_service: doctrine.orm.gateway_entity_manager | ||
factory_method: getRepository | ||
class: Surfnet\StepupMiddleware\GatewayBundle\Repository\SecondFactorRepository | ||
factory: [@doctrine.orm.gateway_entity_manager, getRepository] | ||
arguments: | ||
- 'Surfnet\StepupMiddleware\GatewayBundle\Entity\SecondFactor' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters