public static function load($profileName)
{
self::loadCapabilitiesDataFile();
if (!isset(self::$profiles[$profileName])) {
$suggestionsArray = self::suggestProfileName($profileName);
$suggestionsStr = implode(", ", $suggestionsArray);
throw new InvalidArgumentException("The CapabilityProfile '{$profileName}' does not exist. Try one that does exist, such as {$suggestionsStr}.");
}
return new CapabilityProfile($profileName, self::$profiles[$profileName]);
}