Browse Source

Typo fix [skip ci]

tags/2.0.0-beta
Luciano Baraglia 11 years ago
parent
commit
793d25292f
  1. 8
      apps/basic/commands/HelloController.php

8
apps/basic/commands/HelloController.php

@ -9,21 +9,21 @@ namespace app\commands;
use yii\console\Controller;
/**
* This command echos what the first argument that you have entered.
* This command echoes what the first argument that you have entered.
*
* This command is provided as an example for you to learn how to create console commands.
*
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
*/
class HelloController extends Controller
{
/**
* This command echos what you have entered as the message.
* 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";
}
}
}

Loading…
Cancel
Save