完善console 增加output一些常用的方法

This commit is contained in:
yunwuxin
2016-08-15 12:03:51 +08:00
parent 1440277478
commit c440acc124
5 changed files with 448 additions and 4 deletions

View File

@@ -9,7 +9,9 @@
// | Author: yunwuxin <448901948@qq.com>
// +----------------------------------------------------------------------
namespace think\console\helper\question;
namespace think\console\output\question;
use think\console\output\Question;
class Choice extends Question
{
@@ -56,6 +58,11 @@ class Choice extends Question
return $this;
}
public function isMultiselect()
{
return $this->multiselect;
}
/**
* 获取提示
* @return string