protected function extractCompoundKeyValues(array $compoundKeyValues)
    {
        $values = [];
        foreach ($this->compoundKeyParts as $key) {
            if (!isset($compoundKeyValues[$key])) {
                throw new \InvalidArgumentException(
                    get_class($this) . '::keyValue does not contain all compound keys.',
                    1354976661
                );
            }
            $values[] = $compoundKeyValues[$key];
        }

        return implode('.', $values);
    }
protected function extractCompoundKeyValues(array $compoundKeyValues)
    {
        $values = [];
        foreach ($this->compoundKeyParts as $key) {
            if (!isset($compoundKeyValues[$key])) {
                throw new \InvalidArgumentException(
                    get_class($this) . '::keyValue does not contain all compound keys.',
                    1354976661
                );
            }
            $values[] = $compoundKeyValues[$key];
        }

        return implode('.', $values);
    }
protected function extractCompoundKeyValues ( array $ compoundKeyValues ) { $ values = [ ] ; foreach ( $ this -> compoundKeyParts as $ key ) { if ( ! isset ( $ compoundKeyValues [ $ key ] ) ) { throw new \ InvalidArgumentException ( get_class ( $ this ) . '::keyValue does not contain all compound keys.' , 1354976661 ) ; } $ values [ ] = $ compoundKeyValues [ $ key ] ; } return implode ( '.' , $ values ) ; }
Extracting the key value from model data.

@param string[] $compoundKeyValues
existing key value pairs, must not be empty
The array must have all the keys that are set in the additionalCompoundKey array.
The array values contain the model data with which to look up.

@throws \InvalidArgumentException

@return string Contains the values for the compound key parts concatenated with a dot.
Extracting the key value from model data .