Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
yii
base
Application
setContainer
yii\base\Application::setContainer PHP 메소드
Application 1 문서
파일 보기
프로젝트 열기: yiisoft/yii2
setContainer()
공개
메소드
Configures [[Yii::$container]] with the $config
부터:
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