Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Airship
Engine
Security
Authentication
setDatabase
Airship\Engine\Security\Authentication::setDatabase PHP 메소드
Authentication 1 문서
파일 보기
프로젝트 열기: paragonie/airship
setDatabase()
공개
메소드
Sets the database handler.
public
setDatabase
(
Airship\Engine\Contract\DBInterface
$db
) :
self
$db
Airship\Engine\Contract\DBInterface
리턴
self
($this)
public function setDatabase(DBInterface $db) : self { $this->db = $db; return $this; }
Authentication
__construct
createAuthToken
createHash
login
loginByToken
migrateImportedHash
registerMigrations
rotateToken
setDatabase
setDatabaseByKey
setLongTermSelectorField
setLongTermValidatorField
setPasswordField
setTable
setUserIdField
setUsernameField