This commit is contained in:
Qiang Xue
2012-05-11 22:03:30 -04:00
parent 5f959a1cd2
commit a9b02d4e2e
2 changed files with 8 additions and 3 deletions

View File

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

View File

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