cfmgrv4 init...10

This commit is contained in:
최준흠 2025-03-19 12:37:03 +09:00
parent d9026b41f3
commit e34e07ebc8
3 changed files with 6 additions and 3 deletions

View File

@ -13,7 +13,10 @@ class AuthService extends CommonService
private ?Session $_session = null; private ?Session $_session = null;
private ?UserModel $_model = 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 final public function getSession(): Session
{ {

View File

@ -14,7 +14,7 @@ class GoogleService extends AuthService
public function __construct(mixed $mySocket) public function __construct(mixed $mySocket)
{ {
$this->_mySocket = $mySocket; $this->_mySocket = $mySocket;
parent::__construct(); parent::__construct("Google", class_path: "Google");
} }
public function getMySocket(string $access_code): mixed public function getMySocket(string $access_code): mixed

View File

@ -8,7 +8,7 @@ class LocalService extends AuthService
{ {
public function __construct() public function __construct()
{ {
parent::__construct(); parent::__construct("Local", class_path: "Local");
} }
public function checkUser(array $formDatas): UserEntity public function checkUser(array $formDatas): UserEntity