private function recurse_through_config(array $values, $path = null)
    {
        if (empty($values)) {
            $this->has($path);
        }

        foreach ($values as $key => $value) {
            if (!\is_string($key)) {
                $this->has($path);
                continue;
            }

            if (\is_array($value)) {
                $this->recurse_through_config($value, $path ? "$path.$key" : $key);
            } else {
                $this->has("$path.$key");
            }
        }
    }
private function recurse_through_config(array $values, $path = null)
    {
        if (empty($values)) {
            $this->has($path);
        }

        foreach ($values as $key => $value) {
            if (!\is_string($key)) {
                $this->has($path);
                continue;
            }

            if (\is_array($value)) {
                $this->recurse_through_config($value, $path ? "$path.$key" : $key);
            } else {
                $this->has("$path.$key");
            }
        }
    }
private function recurse_through_config ( array $ values , $ path = null ) { if ( empty ( $ values ) ) { $ this -> has ( $ path ) ; } foreach ( $ values as $ key => $ value ) { if ( ! \ is_string ( $ key ) ) { $ this -> has ( $ path ) ; continue ; } if ( \ is_array ( $ value ) ) { $ this -> recurse_through_config ( $ value , $ path ? "$path.$key" : $ key ) ; } else { $ this -> has ( "$path.$key" ) ; } } }
Primes the cache array.

@param array  $values An array to extract the keys from.
@param string $path   The current level's key.
Primes the cache array .