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
yii
base
Application
getCache
yii\base\Application::getCache PHP Method
Application Class Documentation
Show file
Open project: yiisoft/yii2
getCache()
public
method
Returns the cache component.
public
getCache
( ) :
Cache
return
yii\caching\Cache
the cache application component. Null if the component is not enabled.
public function getCache() { return $this->get('cache', false); }
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