Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
Voodoo
Core
Env
set
Voodoo\Core\Env::set PHP Method
Env Class Documentation
Mostrar archivo
Open project: voodoophp/voodoo
set()
public
static
method
Set the environment we're working on. ie: DEV, PRODUCTION, STAGING
public
static
set
(
integer
$env
= self::DEV )
$env
integer
public static function set($env = self::DEV) { self::$env = $env; }
Env
getAppRootDir
getApplicationBaseDir
getConfigPath
getFrontControllerPath
getHostName
getPublicAssetsPath
getRootDir
getServerName
getUrl
getVoodooistPath
isCLI
isDev
isHttps
isProduction
isStaging
sessionStart
set
setAppRootDir
setConfigPath
setFrontControllerPath
setPublicAssetsPath