|
@@ -13,10 +13,6 @@ use Symfony\Component\Console\Input\InputOption;
|
|
|
use Symfony\Component\Console\Output\OutputInterface;
|
|
|
use Symfony\Component\Console\Style\SymfonyStyle;
|
|
|
|
|
|
-#[AsCommand(
|
|
|
- name: 'app:update:options',
|
|
|
- description: 'Commande pour rattacher une entité Profile aux users existants',
|
|
|
-)]
|
|
|
class UpdateOptionsCommand extends Command
|
|
|
{
|
|
|
protected $em;
|
|
@@ -32,6 +28,8 @@ class UpdateOptionsCommand extends Command
|
|
|
protected function configure(): void
|
|
|
{
|
|
|
$this
|
|
|
+ ->setName('app:update:options')
|
|
|
+ ->setDescription('Commande pour rattacher une entité Profile aux users existants')
|
|
|
//->addArgument('arg1', InputArgument::OPTIONAL, 'Argument description')
|
|
|
->addOption('force', null, InputOption::VALUE_NONE, 'Forcer la création des profils utilisateur')
|
|
|
;
|