Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
yii
base
Application
setContainer
yii\base\Application::setContainer PHP Method
Application Class Documentation
Datei anzeigen
Open project: yiisoft/yii2
setContainer()
public
method
Configures [[Yii::$container]] with the $config
Since:
2.0.11
public
setContainer
(
array
$config
)
$config
array
values given in terms of name-value pairs
public function setContainer($config) { Yii::configure(Yii::$container, $config); }
Application
__construct
bootstrap
coreComponents
end
getAssetManager
getAuthManager
getCache
getDb
getErrorHandler
getFormatter
getI18n
getLog
getMailer
getRequest
getResponse
getRuntimePath
getSecurity
getTimeZone
getUniqueId
getUrlManager
getVendorPath
getView
handleRequest
init
preInit
registerErrorHandler
run
setBasePath
setContainer
setRuntimePath
setTimeZone
setVendorPath