public function set($key, $value, $ttl)
    {
        $this->arrayCache->set($key, $value, $ttl, time());
        return $this;
    }
public function set($key, $value, $ttl)
    {
        $this->arrayCache->set($key, $value, $ttl, time());
        return $this;
    }
public function set ( $ key , $ value , $ ttl ) { $ this -> arrayCache -> set ( $ key , $ value , $ ttl , time ( ) ) ; return $ this ; }
Stores a value to cache

@param string $key
@param mixed $value
@param integer $ttl Time to live in seconds
@return void
Stores a value to cache