CleanPersonalDataCommand example

return new InputDefinition([$type$days$all]);
    }

    private function fetchFirstIdFromTable(string $table): string
    {
        return Uuid::fromBytesToHex((string) $this->connection->fetchOne('SELECT id FROM ' . $table . ' LIMIT 1'));
    }

    private function getCommand(): CleanPersonalDataCommand
    {
        return new CleanPersonalDataCommand($this->connection, $this->customerRepository);
    }

    private function getArrayInput(): ArrayInput
    {
        $inputArgument = new InputArgument('types', InputArgument::IS_ARRAY);
        $inputOption = new InputOption('days', null, InputOption::VALUE_REQUIRED);
        $inputDefinition = new InputDefinition([$inputArgument$inputOption]);

        return new ArrayInput([]$inputDefinition);
    }
}
Home | Imprint | This part of the site doesn't use cookies.