src/Titon/Common/Traits/Cacheable.php
public function setCache($key, $value) {
        $this->_cache[$this->createCacheKey($key)] = $value;

        return $value;
    }
public function setCache($key, $value) {
        $this->_cache[$this->createCacheKey($key)] = $value;

        return $value;
    }
public function setCache ( $ key , $ value ) { $ this -> _cache [ $ this -> createCacheKey ( $ key ) ] = $ value ; return $ value ; }
Set a value to the cache with the defined key.
This will overwrite any data with the same key.
The value being saved will be returned.

@param string|array $key
@param mixed $value
@return mixed
Set a value to the cache with the defined key . This will overwrite any data with the same key . The value being saved will be returned .