Commit a9b02d4e by Qiang Xue

...

parent 5f959a1c
...@@ -44,7 +44,7 @@ namespace yii\console; ...@@ -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 @@ ...@@ -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; ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment