Generate a unique hash based on the keys of the extra params
public static generateParamsHashKey ( $params ) : string | ||
return | string | Unique MD5 hash |
/** * Test the hsah key generation */ public function testGenerateParamsHashKey() { $a = array('optionA', 'optionB', 'optionC'); $b = array('optionA', 'optionB', 'optionC'); $this->assertEquals(ExtraOptionsResolver::generateParamsHashKey($a), ExtraOptionsResolver::generateParamsHashKey($b)); }