= $this->reqCityLevel) { $cnt++; } } if($cnt >= $this->reqCityCount) { return true; } return false; } public function getInfo(): string { $cityLevelText = getCityLevelList()[$this->reqCityLevel]; return "{$cityLevelText}성 {$this->reqCityCount}개 이상 소유시 가능"; } }