Browse Source

...

tags/2.0.0-beta
Qiang Xue 13 years ago
parent
commit
a9b02d4e2e
  1. 2
      framework/console/Controller.php
  2. 9
      framework/console/commands/HelpController.php

2
framework/console/Command.php → framework/console/Controller.php

@ -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.

9
framework/console/commands/HelpController.php

@ -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

Loading…
Cancel
Save