Browse Source

Merge pull request #645 from lucianobaraglia/master

Typo fix [skip ci]
tags/2.0.0-beta
Qiang Xue 11 years ago
parent
commit
ef2d0990e8
  1. 8
      apps/basic/commands/HelloController.php

8
apps/basic/commands/HelloController.php

@ -9,21 +9,21 @@ namespace app\commands;
use yii\console\Controller; 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. * This command is provided as an example for you to learn how to create console commands.
* *
* @author Qiang Xue <qiang.xue@gmail.com> * @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0 * @since 2.0
*/ */
class HelloController extends Controller 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. * @param string $message the message to be echoed.
*/ */
public function actionIndex($message = 'hello world') public function actionIndex($message = 'hello world')
{ {
echo $message."\n"; echo $message."\n";
} }
} }

Loading…
Cancel
Save