refac: General create 함수명 변경

This commit is contained in:
2023-08-01 16:28:29 +00:00
parent 29273d7a8b
commit 55fca2337d
68 changed files with 87 additions and 89 deletions
+2 -2
View File
@@ -68,7 +68,7 @@ class GeneralLite extends GeneralBase
* @return \sammo\GeneralLite[]
* @throws MustNotBeReachedException
*/
static public function createGeneralLiteObjListFromDB(?array $generalIDList, ?array $column = null, GeneralLiteQueryMode $queryMode = GeneralLiteQueryMode::Full): array
static public function createObjListFromDB(?array $generalIDList, ?array $column = null, GeneralLiteQueryMode $queryMode = GeneralLiteQueryMode::Full): array
{
if ($generalIDList === []) {
return [];
@@ -136,7 +136,7 @@ class GeneralLite extends GeneralBase
return $result;
}
static public function createGeneralLiteObjFromDB(int $generalID, ?array $column = null, GeneralLiteQueryMode $queryMode = GeneralLiteQueryMode::Full): self
static public function createObjFromDB(int $generalID, ?array $column = null, GeneralLiteQueryMode $queryMode = GeneralLiteQueryMode::Full): self
{
$db = DB::db();
if ($queryMode->value > 0) {