From a9b02d4e2ec87b6342028204f8915470447e294c Mon Sep 17 00:00:00 2001 From: Qiang Xue Date: Fri, 11 May 2012 22:03:30 -0400 Subject: [PATCH] ... --- framework/console/{Command.php => Controller.php} | 2 +- framework/console/commands/HelpController.php | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) rename framework/console/{Command.php => Controller.php} (99%) diff --git a/framework/console/Command.php b/framework/console/Controller.php similarity index 99% rename from framework/console/Command.php rename to framework/console/Controller.php index cd4f74695d..e488181fde 100644 --- a/framework/console/Command.php +++ b/framework/console/Controller.php @@ -44,7 +44,7 @@ namespace yii\console; * @author Qiang Xue * @since 2.0 */ -class Command extends \yii\base\Controller +class Controller extends \yii\base\Controller { /** * Executes the command. diff --git a/framework/console/commands/HelpController.php b/framework/console/commands/HelpController.php index 43b9eeb817..ba2f38e4b7 100644 --- a/framework/console/commands/HelpController.php +++ b/framework/console/commands/HelpController.php @@ -8,7 +8,7 @@ * @license http://www.yiiframework.com/license/ */ -namespace yii\console; +namespace yii\console\commands; /** * HelpCommand represents a console help command. @@ -28,8 +28,13 @@ namespace yii\console; * @author Qiang Xue * @since 2.0 */ -class HelpCommand extends Command +class HelpController extends \yii\console\Controller { + public function actionIndex($args = array()) + { + + } + /** * Execute the action. * @param array $args command line parameters specific for this command