From e34e07ebc8cab8046c9e353569e66cad3b56e991 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=B5=9C=EC=A4=80=ED=9D=A0?= Date: Wed, 19 Mar 2025 12:37:03 +0900 Subject: [PATCH] cfmgrv4 init...10 --- app/Services/Auth/AuthService.php | 5 ++++- app/Services/Auth/GoogleService.php | 2 +- app/Services/Auth/LocalService.php | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/app/Services/Auth/AuthService.php b/app/Services/Auth/AuthService.php index 013ef56..8c890b7 100644 --- a/app/Services/Auth/AuthService.php +++ b/app/Services/Auth/AuthService.php @@ -13,7 +13,10 @@ class AuthService extends CommonService private ?Session $_session = null; private ?UserModel $_model = null; - public function __construct() {} + public function __construct(string $class_name, string $class_path) + { + parent::__construct($class_name, $class_path); + } final public function getSession(): Session { diff --git a/app/Services/Auth/GoogleService.php b/app/Services/Auth/GoogleService.php index 691bc66..5f41c0b 100644 --- a/app/Services/Auth/GoogleService.php +++ b/app/Services/Auth/GoogleService.php @@ -14,7 +14,7 @@ class GoogleService extends AuthService public function __construct(mixed $mySocket) { $this->_mySocket = $mySocket; - parent::__construct(); + parent::__construct("Google", class_path: "Google"); } public function getMySocket(string $access_code): mixed diff --git a/app/Services/Auth/LocalService.php b/app/Services/Auth/LocalService.php index 265510c..0f6cacd 100644 --- a/app/Services/Auth/LocalService.php +++ b/app/Services/Auth/LocalService.php @@ -8,7 +8,7 @@ class LocalService extends AuthService { public function __construct() { - parent::__construct(); + parent::__construct("Local", class_path: "Local"); } public function checkUser(array $formDatas): UserEntity