Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
Psecio
Gatekeeper
Gatekeeper
setDatasource
Psecio\Gatekeeper\Gatekeeper::setDatasource PHP Méthode
Gatekeeper Class Documentation
Afficher le fichier
Open project: psecio/gatekeeper
setDatasource()
public
static
méthode
Set the current data source to the one given
public
static
setDatasource
(
DataSource
$ds
)
$ds
DataSource
Data source instance
public static function setDatasource($ds) { self::$datasource = $ds; }
Gatekeeper
__callStatic
authenticate
buildDataSource
buildModel
checkRememberMe
clearRestrictions
createPolicy
disableThrottle
enableThrottle
evaluatePolicy
getConfig
getDatasource
getLastError
getLogger
getRestrictions
getUserThrottle
hash_equals
init
loadConfig
loadDotEnv
modelFactory
register
rememberMe
restrict
setConfig
setDatasource
setLogger
throttleStatus