징병 모병 추가, iAction 구조 일부 변경

This commit is contained in:
2018-10-20 23:31:32 +09:00
parent cee0d3f03e
commit 2de061203b
50 changed files with 560 additions and 183 deletions
+10
View File
@@ -41,7 +41,17 @@ abstract class BaseCommand{
protected $alternative = null;
static private $isInitStatic = false;
protected static function initStatic(){
}
public function __construct(General $generalObj, array $env, $arg = null){
if(!static::$isInitStatic){
static::initStatic();
static::$isInitStatic = true;
}
$this->generalObj = $generalObj;
$this->logger = $generalObj->getLogger();
$this->env = $env;