+ $supported = array(0x28, 0x2C, 0x4C, 0x6C, 0x70);
+ if (!in_array($type, $supported)) {
+ return new EDSS1_Parameter($type);
+ }
+
+ $typeHex = sprintf('%02X', $type);
+ $class = 'callnotifier\EDSS1_Parameter_' . $typeHex;
+
+ return new $class($type);