foreach ($config['profile'] as $profileName => $profile)
35
{
36
if (!empty(array_diff($requiredProfileParams, array_keys($profile))))
37
throw new ConfigurationException("Problem with \"{$profileName}\" profile configuration. There are missing some of the required parameters (country, language, currency).");