Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Airship
Engine
Security
Authentication
setDatabase
Airship\Engine\Security\Authentication::setDatabase PHP Method
Authentication Class Documentation
显示文件
Open project: paragonie/airship
setDatabase()
public
method
Sets the database handler.
public
setDatabase
(
Airship\Engine\Contract\DBInterface
$db
) :
self
$db
Airship\Engine\Contract\DBInterface
return
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