mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-03 13:33:48 +00:00
resolving deprecated private service injection on commands classes
This commit is contained in:
@@ -5,11 +5,42 @@ services:
|
||||
$logger: '@Psr\Log\LoggerInterface'
|
||||
$passwordEncoder: '@Symfony\Component\Security\Core\Encoder\UserPasswordEncoderInterface'
|
||||
$validator: '@Symfony\Component\Validator\Validator\ValidatorInterface'
|
||||
|
||||
tags:
|
||||
- { name: console.command }
|
||||
|
||||
Chill\MainBundle\Command\ChillUserSendRenewPasswordCodeCommand:
|
||||
autowire: true
|
||||
arguments:
|
||||
$logger: '@Psr\Log\LoggerInterface'
|
||||
$em: '@Doctrine\ORM\EntityManagerInterface'
|
||||
$recoverPasswordHelper: '@Chill\MainBundle\Security\PasswordRecover\RecoverPasswordHelper'
|
||||
$eventDispatcher: '@Symfony\Component\EventDispatcher\EventDispatcherInterface'
|
||||
tags:
|
||||
- { name: console.command }
|
||||
|
||||
Chill\MainBundle\Command\LoadAndUpdateLanguagesCommand:
|
||||
arguments:
|
||||
$entityManager: '@doctrine.orm.entity_manager'
|
||||
$availableLanguages: '%chill_main.available_languages%'
|
||||
tags:
|
||||
- { name: console.command }
|
||||
|
||||
Chill\MainBundle\Command\LoadCountriesCommand:
|
||||
arguments:
|
||||
$entityManager: '@doctrine.orm.entity_manager'
|
||||
$availableLanguages: '%chill_main.available_languages%'
|
||||
tags:
|
||||
- { name: console.command }
|
||||
|
||||
|
||||
Chill\MainBundle\Command\LoadPostalCodesCommand:
|
||||
arguments:
|
||||
$entityManager: '@doctrine.orm.entity_manager'
|
||||
$validator: '@Symfony\Component\Validator\Validator\ValidatorInterface'
|
||||
tags:
|
||||
- { name: console.command }
|
||||
|
||||
Chill\MainBundle\Command\SetPasswordCommand:
|
||||
arguments:
|
||||
$entityManager: '@doctrine.orm.entity_manager'
|
||||
tags:
|
||||
- { name: console.command }
|
||||
|
Reference in New Issue
Block a user