private checkPlatformData ( array $properties, string $message ) | ||
$properties | array | |
$message | string |
private function checkPlatformData(array $properties, $message)
{
if (array_key_exists('Platform', $properties) || array_key_exists('Platform_Description', $properties) || array_key_exists('Platform_Maker', $properties) || array_key_exists('Platform_Bits', $properties) || array_key_exists('Platform_Version', $properties)) {
throw new \LogicException($message);
}
}