BringYourOwnIdeas\Maintenance\Util\ApiLoader::setToCache
Given a value, set it to the cache with the given key after serializing the value as JSON
Signature
protected function setToCache(string
$cacheKey,
mixed
$value,
[int
$ttl = NULL] )
Parameters
$cacheKey
— string$value
— mixed$ttl
— int
Returns
- bool