Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <thomas.steur@googlemail.com>2014-09-30 18:42:11 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-09-30 18:42:11 +0400
commitc784f16042373e41c9e760e87092dde912b66227 (patch)
tree93f3a2c83cc7e845eda8562b43348586ea30e086 /plugins/ExampleCommand
parent3dbf24168a948672356ff519778e2e42406edbb8 (diff)
the command class should be camelcase but the command name should separate words by a dash
Diffstat (limited to 'plugins/ExampleCommand')
-rw-r--r--plugins/ExampleCommand/Commands/HelloWorld.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ExampleCommand/Commands/HelloWorld.php b/plugins/ExampleCommand/Commands/HelloWorld.php
index cdaee9f290..d8dc781e3f 100644
--- a/plugins/ExampleCommand/Commands/HelloWorld.php
+++ b/plugins/ExampleCommand/Commands/HelloWorld.php
@@ -31,7 +31,7 @@ class HelloWorld extends ConsoleCommand
protected function configure()
{
$this->setName('examplecommand:helloworld');
- $this->setDescription('ExampleCommand');
+ $this->setDescription('ExampleCommandDescription');
$this->addOption('name', null, InputOption::VALUE_REQUIRED, 'Your name:');
}