mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-12 20:21:19 +08:00
...
This commit is contained in:
@@ -44,7 +44,7 @@ namespace yii\console;
|
|||||||
* @author Qiang Xue <qiang.xue@gmail.com>
|
* @author Qiang Xue <qiang.xue@gmail.com>
|
||||||
* @since 2.0
|
* @since 2.0
|
||||||
*/
|
*/
|
||||||
class Command extends \yii\base\Controller
|
class Controller extends \yii\base\Controller
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Executes the command.
|
* Executes the command.
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
* @license http://www.yiiframework.com/license/
|
* @license http://www.yiiframework.com/license/
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace yii\console;
|
namespace yii\console\commands;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* HelpCommand represents a console help command.
|
* HelpCommand represents a console help command.
|
||||||
@@ -28,8 +28,13 @@ namespace yii\console;
|
|||||||
* @author Qiang Xue <qiang.xue@gmail.com>
|
* @author Qiang Xue <qiang.xue@gmail.com>
|
||||||
* @since 2.0
|
* @since 2.0
|
||||||
*/
|
*/
|
||||||
class HelpCommand extends Command
|
class HelpController extends \yii\console\Controller
|
||||||
{
|
{
|
||||||
|
public function actionIndex($args = array())
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Execute the action.
|
* Execute the action.
|
||||||
* @param array $args command line parameters specific for this command
|
* @param array $args command line parameters specific for this command
|
||||||
|
|||||||
Reference in New Issue
Block a user