From b8a4a47b38ae840970329ede869f7fe5ab32e210 Mon Sep 17 00:00:00 2001 From: Lukas Kahwe Smith Date: Wed, 8 May 2013 09:10:40 +0200 Subject: [PATCH] renamed PurgeCommand to ResetCommand --- Command/{PurgeCommand.php => ResetCommand.php} | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) rename Command/{PurgeCommand.php => ResetCommand.php} (90%) diff --git a/Command/PurgeCommand.php b/Command/ResetCommand.php similarity index 90% rename from Command/PurgeCommand.php rename to Command/ResetCommand.php index 3f5fa00..f223d63 100755 --- a/Command/PurgeCommand.php +++ b/Command/ResetCommand.php @@ -12,9 +12,9 @@ use FOS\ElasticaBundle\IndexManager; use FOS\ElasticaBundle\Resetter; /** - * Purge search indexes + * Reset search indexes */ -class PurgeCommand extends ContainerAwareCommand +class ResetCommand extends ContainerAwareCommand { /** * @var IndexManager @@ -32,10 +32,10 @@ class PurgeCommand extends ContainerAwareCommand protected function configure() { $this - ->setName('fos:elastica:purge') - ->addOption('index', null, InputOption::VALUE_OPTIONAL, 'The index to purge') - ->addOption('type', null, InputOption::VALUE_OPTIONAL, 'The type to purge') - ->setDescription('Purge search indexes') + ->setName('fos:elastica:reset') + ->addOption('index', null, InputOption::VALUE_OPTIONAL, 'The index to reset') + ->addOption('type', null, InputOption::VALUE_OPTIONAL, 'The type to reset') + ->setDescription('Reset search indexes') ; }