Alexander Makarov il y a 11 ans
Parent
commit
f1df2e4336
1 fichiers modifiés avec 16 ajouts et 0 suppressions
  1. 16 0
      commands/HelloController.php

+ 16 - 0
commands/HelloController.php

@@ -27,4 +27,20 @@ class HelloController extends Controller
     {
         echo $message . "\n";
     }
+
+    public function actionTest()
+    {
+        echo 'Test?';
+    }
+
+//    public function getDescription($actionID = null)
+//    {
+//        return "I'm custom description for $actionID!";
+//    }
+
+
+    public function getHelp($actionID = null)
+    {
+        return "I'm custom help for $actionID!";
+    }
 }