징병 모병 추가, iAction 구조 일부 변경
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user