]> Raphaël G. Git Repositories - airbundle/commitdiff
Rename Command/Command in Command
authorRaphaël Gertz <git@rapsys.eu>
Wed, 28 Feb 2024 11:28:58 +0000 (12:28 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Wed, 28 Feb 2024 11:28:58 +0000 (12:28 +0100)
Command.php [moved from Command/Command.php with 89% similarity]

similarity index 89%
rename from Command/Command.php
rename to Command.php
index 346a45facdca443b1a9f705e31ca2281fa1fb688..6f4a8eeb6f6e68f2cd425b1aa1597e04c1a94d05 100644 (file)
@@ -92,6 +92,17 @@ class Command extends BaseCommand {
 
                //Set locale
                $this->locale = $locale;
+
+               //With default name
+               //TODO: XXX: see how to make it works
+               /*if (isset(self::$defaultName)) {
+                       $this->name = self::$defaultName;
+               }
+
+               //With default description
+               if (isset(self::$defaultDescription)) {
+                       $this->name = self::$defaultDescription;
+               }*/
        }
 
        /**