턴 요약 위해 getBrief 추가

This commit is contained in:
2018-10-04 01:57:56 +09:00
parent 9b4bf148cc
commit bf630b5f7d
11 changed files with 46 additions and 39 deletions
+6 -3
View File
@@ -14,8 +14,7 @@ abstract class BaseCommand{
* @var General|null $generalObj
* @var array|null $destGeneral
*/
protected $id = 0;
protected $name = 'CommandName';
static protected $actionName = 'CommandName';
protected $generalObj = null;
protected $city = null;
@@ -126,9 +125,13 @@ abstract class BaseCommand{
abstract protected function init();
abstract protected function argTest():bool;
public function getBrief():string{
return $this->getName();
}
public function getName():string {
return static::$name;
return static::$actionName;
}
public function getLogger():ActionLogger{