public static function assertExists($hashMap, $entryName, $varName) {
        HashMap::assert($hashMap, $varName);
        return array_key_exists($entryName, $hashMap) ? $hashMap : Exceptions::InvalidTypeException('HashMapEntry', $varName . '[\'' . $entryName . '\']', 'undefined');
    }
public static function assertExists($hashMap, $entryName, $varName) {
        HashMap::assert($hashMap, $varName);
        return array_key_exists($entryName, $hashMap) ? $hashMap : Exceptions::InvalidTypeException('HashMapEntry', $varName . '[\'' . $entryName . '\']', 'undefined');
    }
public static function assertExists ( $ hashMap , $ entryName , $ varName ) { HashMap :: assert ( $ hashMap , $ varName ) ; return array_key_exists ( $ entryName , $ hashMap ) ? $ hashMap : Exceptions :: InvalidTypeException ( 'HashMapEntry' , $ varName . '[\'' . $ entryName . '\']' , 'undefined' ) ; }
Asserts if the given hash map entry exists

@param  array  $hashMap
@param  string $entryName
@param  string $varName
@return array
@throws InvalidTypeException

@SuppressWarnings("PHPMD.StaticAccess")
Asserts if the given hash map entry exists