Searched refs:discriminatorFieldName (Results 1 – 5 of 5) sorted by relevance
98 public $discriminatorFieldName; variable in JMS\\Serializer\\Metadata\\ClassMetadata140 $this->discriminatorFieldName = $fieldName;220 if ($object->discriminatorFieldName && $this->discriminatorFieldName) {227 } elseif (!$this->discriminatorFieldName && $object->discriminatorFieldName) {228 $this->discriminatorFieldName = $object->discriminatorFieldName;237 $this->discriminatorFieldName = $object->discriminatorFieldName;286 $this->discriminatorFieldName,326 $this->discriminatorFieldName,383 if (isset($this->propertyMetadata[$this->discriminatorFieldName])388 $this->discriminatorFieldName,[all …]
243 …data->xmlDiscriminatorNamespace && isset($data->attributes()->{$metadata->discriminatorFieldName}):244 return (string) $data->attributes()->{$metadata->discriminatorFieldName};247 …sset($data->attributes($metadata->xmlDiscriminatorNamespace)->{$metadata->discriminatorFieldName}):248 …ring) $data->attributes($metadata->xmlDiscriminatorNamespace)->{$metadata->discriminatorFieldName};251 … isset($data->children($metadata->xmlDiscriminatorNamespace)->{$metadata->discriminatorFieldName}):252 …string) $data->children($metadata->xmlDiscriminatorNamespace)->{$metadata->discriminatorFieldName};254 case isset($data->{$metadata->discriminatorFieldName}):255 return (string) $data->{$metadata->discriminatorFieldName};260 $metadata->discriminatorFieldName,
131 if (isset($data[$metadata->discriminatorFieldName])) {132 return (string) $data[$metadata->discriminatorFieldName];137 $metadata->discriminatorFieldName,
92 $discriminatorFieldName = (string) $elem->attributes()->{'discriminator-field-name'};104 } elseif (!empty($discriminatorFieldName) || !empty($discriminatorMap)) {109 … $metadata->setDiscriminator($discriminatorFieldName, $discriminatorMap, $discriminatorGroups);
304 self::assertEquals('type', $m->discriminatorFieldName);