ManaPHP\CacheInterface::set PHP Method

set() public method

Stores a value identified by a key into cache.
public set ( string $key, mixed $value, integer $ttl ) : void
$key string
$value mixed
$ttl integer
return void
    public function set($key, $value, $ttl);