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
setConfigArray
luya\base\Boot::setConfigArray PHP Method
Boot Class Documentation
Show file
Open project: luyadev/luya
setConfigArray()
public
method
This method is commonly used when running php unit tests which do not require an additional file.
php $app = new Boot(); $app->setConfigArray([ ... ]);
public
setConfigArray
(
array
$config
)
$config
array
The configuration array for the application.
public function setConfigArray(array $config) { $this->_configArray = $config; }
Boot
applicationConsole
applicationWeb
getConfigArray
getCoreBasePath
getSapiName
includeYii
run
setConfigArray
setYiiPath