public function checkDeprecatedProperties(array $properties, string $message) : void
    {
        if (array_key_exists('AolVersion', $properties)
            || array_key_exists('MinorVer', $properties)
            || array_key_exists('MajorVer', $properties)
        ) {
            throw new \LogicException($message);
        }
    }
public function checkDeprecatedProperties(array $properties, string $message) : void
    {
        if (array_key_exists('AolVersion', $properties)
            || array_key_exists('MinorVer', $properties)
            || array_key_exists('MajorVer', $properties)
        ) {
            throw new \LogicException($message);
        }
    }
public function checkDeprecatedProperties ( array $ properties , string $ message ) : void { if ( array_key_exists ( 'AolVersion' , $ properties ) || array_key_exists ( 'MinorVer' , $ properties ) || array_key_exists ( 'MajorVer' , $ properties ) ) { throw new \ LogicException ( $ message ) ; } }
checks if deprecated properties are set inside a properties array

@param array  $properties
@param string $message

@throws \LogicException
checks if deprecated properties are set inside a properties array