dbmsv4 init...5
This commit is contained in:
parent
6983a5f3de
commit
285c60d715
@ -3,7 +3,6 @@
|
||||
namespace App\Cells;
|
||||
|
||||
use App\Cells\CommonCell;
|
||||
use App\Services\MyLogService;
|
||||
|
||||
class MylogCell extends CommonCell
|
||||
{
|
||||
|
||||
@ -38,27 +38,27 @@ class AuthContext
|
||||
// Public Accessors (AuthService에서 이동)
|
||||
// ----------------------------------------------------
|
||||
|
||||
public function getUID(): int
|
||||
public function getUID(): int|null
|
||||
{
|
||||
return $this->getAuthInfo('uid');
|
||||
}
|
||||
|
||||
public function getID(): string
|
||||
public function getID(): string|null
|
||||
{
|
||||
return $this->getAuthInfo('id');
|
||||
}
|
||||
|
||||
public function getName(): string
|
||||
public function getName(): string|null
|
||||
{
|
||||
return $this->getAuthInfo('name');
|
||||
}
|
||||
|
||||
public function getRole(): string
|
||||
public function getRole(): string|null
|
||||
{
|
||||
return $this->getAuthInfo('role');
|
||||
}
|
||||
|
||||
public function getRoles(): array
|
||||
public function getRoles(): array|null
|
||||
{
|
||||
return explode(DEFAULTS['DELIMITER_COMMA'], $this->getRole());
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user