Contao\Cache::__set PHP Метод

__set() публичный Метод

Add a cache entry
Устаревший: 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);
    }