75 if (is_object($value) && isset($value->$fieldName)) {
77 $discriminatorValue = $value->$fieldName;
78 if (isset(self::$discriminatorClasses[$discriminatorValue])) {
79 return self::$discriminatorClasses[$discriminatorValue];
82 if (is_array($value) && isset($value[$fieldName])) {
84 $discriminatorValue = $value[$fieldName];
85 if (isset(self::$discriminatorClasses[$discriminatorValue])) {
86 return self::$discriminatorClasses[$discriminatorValue];
91 $type = MyQuoteUpdateActionModel::class;