Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
luya
base
Boot
getSapiName
luya\base\Boot::getSapiName PHP Method
Boot Class Documentation
Show file
Open project: luyadev/luya
getSapiName()
public
method
Returns the current sapi name in lower case.
public
getSapiName
( ) :
string
return
string
e.g. cli or web
public function getSapiName() { return strtolower(php_sapi_name()); }
Boot
applicationConsole
applicationWeb
getConfigArray
getCoreBasePath
getSapiName
includeYii
run
setConfigArray
setYiiPath