mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-03 21:34:59 +00:00
resolving deprecated private service injection on commands classes
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Chill\MainBundle\Command;
|
||||
|
||||
use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Input\InputArgument;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Input\InputOption;
|
||||
@@ -16,7 +16,12 @@ use Chill\MainBundle\Security\PasswordRecover\RecoverPasswordHelper;
|
||||
use Chill\MainBundle\Security\PasswordRecover\PasswordRecoverEvent;
|
||||
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||
|
||||
class ChillUserSendRenewPasswordCodeCommand extends ContainerAwareCommand
|
||||
/**
|
||||
* Class ChillUserSendRenewPasswordCodeCommand
|
||||
*
|
||||
* @package Chill\MainBundle\Command
|
||||
*/
|
||||
class ChillUserSendRenewPasswordCodeCommand extends Command
|
||||
{
|
||||
/**
|
||||
*
|
||||
@@ -66,8 +71,8 @@ class ChillUserSendRenewPasswordCodeCommand extends ContainerAwareCommand
|
||||
LoggerInterface $logger,
|
||||
EntityManagerInterface $em,
|
||||
RecoverPasswordHelper $recoverPasswordHelper,
|
||||
EventDispatcherInterface $eventDispatcher)
|
||||
{
|
||||
EventDispatcherInterface $eventDispatcher
|
||||
) {
|
||||
$this->logger = $logger;
|
||||
$this->em = $em;
|
||||
$this->recoverPasswordHelper = $recoverPasswordHelper;
|
||||
|
Reference in New Issue
Block a user