public function offsetGet($key)
    {
        if (($index = $this->keysIndices[self::keyString($key)] ?? null) === null) {
            return null;
        }

        return $this->values[$index];
    }
public function offsetGet($key)
    {
        if (($index = $this->keysIndices[self::keyString($key)] ?? null) === null) {
            return null;
        }

        return $this->values[$index];
    }
public function offsetGet ( $ key ) { if ( ( $ index = $ this -> keysIndices [ self :: keyString ( $ key ) ] ?? null ) === null ) { return null ; } return $ this -> values [ $ index ] ; }
Retrieve a value with the given key.

@param mixed $key

@return mixed A value with the given key.
Retrieve a value with the given key .