| 
														
															@@ -4,12 +4,17 @@ namespace App\Command; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 use App\Repository\UserRepository; 
														 | 
														
														 | 
														
															 use App\Repository\UserRepository; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 use Doctrine\ORM\EntityManagerInterface; 
														 | 
														
														 | 
														
															 use Doctrine\ORM\EntityManagerInterface; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+use Symfony\Component\Console\Attribute\AsCommand; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 use Symfony\Component\Console\Command\Command; 
														 | 
														
														 | 
														
															 use Symfony\Component\Console\Command\Command; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 use Symfony\Component\Console\Input\InputInterface; 
														 | 
														
														 | 
														
															 use Symfony\Component\Console\Input\InputInterface; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 use Symfony\Component\Console\Output\OutputInterface; 
														 | 
														
														 | 
														
															 use Symfony\Component\Console\Output\OutputInterface; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 use Symfony\Component\Console\Question\ConfirmationQuestion; 
														 | 
														
														 | 
														
															 use Symfony\Component\Console\Question\ConfirmationQuestion; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 use Symfony\Component\Console\Style\SymfonyStyle; 
														 | 
														
														 | 
														
															 use Symfony\Component\Console\Style\SymfonyStyle; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+#[AsCommand( 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    name: 'app:users:activate', 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    description: 'Activer tous les users', 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+)] 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 class AppUsersActivateCommand extends Command 
														 | 
														
														 | 
														
															 class AppUsersActivateCommand extends Command 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 { 
														 | 
														
														 | 
														
															 { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     public function __construct(private UserRepository $repoUser, private EntityManagerInterface $em) 
														 | 
														
														 | 
														
															     public function __construct(private UserRepository $repoUser, private EntityManagerInterface $em) 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -17,14 +22,6 @@ class AppUsersActivateCommand extends Command 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         parent::__construct(); 
														 | 
														
														 | 
														
															         parent::__construct(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } 
														 | 
														
														 | 
														
															     } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    protected function configure(): void 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        $this 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            ->setName('app:users:activate') 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            ->setDescription('Activer tous les users') 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        ; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    } 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															- 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     protected function execute(InputInterface $input, OutputInterface $output) :int 
														 | 
														
														 | 
														
															     protected function execute(InputInterface $input, OutputInterface $output) :int 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     { 
														 | 
														
														 | 
														
															     { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         $io = new SymfonyStyle($input, $output); 
														 | 
														
														 | 
														
															         $io = new SymfonyStyle($input, $output); 
														 |