public function setMultiple(array $items, int $ttl = null): void
    {
        foreach ($items as $key => $value) {
            $this->set($key, $value, $ttl);
        }
    }
public function setMultiple(array $items, int $ttl = null): void
    {
        foreach ($items as $key => $value) {
            $this->set($key, $value, $ttl);
        }
    }
public function setMultiple ( array $ items , int $ ttl = null ) : void { foreach ( $ items as $ key => $ value ) { $ this -> set ( $ key , $ value , $ ttl ) ; } }
Stores multiple values in the cache.

@param array $items An array of key/value pairs to store in the cache.
@param int $ttl Number of seconds to store values in the cache.
@return void No value is returned.
Stores multiple values in the cache .