public function replaceAllKeys(array $keys): self
    {
        return static::create(
            \array_combine($keys, $this->getArray()),
            $this->iteratorClass,
            false
        );
    }
public function replaceAllKeys(array $keys): self
    {
        return static::create(
            \array_combine($keys, $this->getArray()),
            $this->iteratorClass,
            false
        );
    }
public function replaceAllKeys ( array $ keys ) : self { return static :: create ( \ array_combine ( $ keys , $ this -> getArray ( ) ) , $ this -> iteratorClass , false ) ; }
Create an array using the current array as values and the other array as keys.

@param array $keys <p>An array of keys.</p>

@return static
<p>(Immutable) Arrayy object with keys from the other array.</p>
Create an array using the current array as values and the other array as keys .