mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-17 14:57:23 +08:00
@@ -9,7 +9,7 @@ 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.
|
||||||
*
|
*
|
||||||
@@ -19,7 +19,7 @@ use yii\console\Controller;
|
|||||||
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')
|
||||||
|
|||||||
Reference in New Issue
Block a user