Classes/Service/GenericApiService.php
protected function writeCache($key, &$data, $lifetime)
    {
        $this->cacheManager->set($key, $data, [], $lifetime);
    }
protected function writeCache($key, &$data, $lifetime)
    {
        $this->cacheManager->set($key, $data, [], $lifetime);
    }
protected function writeCache ( $ key , & $ data , $ lifetime ) { $ this -> cacheManager -> set ( $ key , $ data , [ ] , $ lifetime ) ; }
Caches the HTTP response body into database

@param string $key A unique key for storing the data, e.g. request URI
@param string $data The data itself, e.g. XML data
@param int $lifetime How long the entry should be valid
Caches the HTTP response body into database