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
Contao
Cache
__set
Contao\Cache::__set PHP Method
Cache Class Documentation
Show file
Open project: contao/core-bundle
__set()
public
method
Add a cache entry
Deprecation:
Deprecated since Contao 4.0, to be removed in Contao 5.0. Use Cache::set() instead.
public
__set
(
string
$strKey
,
mixed
$varValue
)
$strKey
string
The cache key
$varValue
mixed
The data to be stored
public function __set($strKey, $varValue) { static::set($strKey, $varValue); }
Cache
__clone
__construct
__get
__isset
__set
__unset
get
getInstance
has
remove
set