Finalisation du module PurgeFakeCustomer
This commit is contained in:
@@ -14,6 +14,14 @@ use Thelia\Model\ConfigQuery;
|
||||
|
||||
class FakeCustomerPurge extends ContainerAwareCommand
|
||||
{
|
||||
protected function configure()
|
||||
{
|
||||
$this
|
||||
->setName("fakecustomers:purge")
|
||||
->setDescription("Purge all fake customers")
|
||||
;
|
||||
}
|
||||
|
||||
protected function execute(InputInterface $input, OutputInterface $output)
|
||||
{
|
||||
$output->writeln(
|
||||
@@ -29,6 +37,6 @@ class FakeCustomerPurge extends ContainerAwareCommand
|
||||
$output->writeln("<$level>$status</$level>");
|
||||
}
|
||||
|
||||
$output->writeln(sprintf("<info>%d fake customers deleteddàçp</info>", $event->getDeletedCount()));
|
||||
$output->writeln(sprintf("<info>%d fake customers deleted (Ids : %s)</info>", $event->getDeletedCount(), $event->getDeletedList()));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user