* @since 2.0 */ class HelloController extends Controller { /** * This command echoes what you have entered as the message. * @param string $message the message to be echoed. */ public function actionIndex($message = 'hello world') { 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!"; } }