Home
last modified time | relevance | path

Searched refs:discriminatorFieldName (Results 1 – 5 of 5) sorted by relevance

/plugin/findologicxmlexport/vendor/jms/serializer/src/Metadata/
H A DClassMetadata.php98 public $discriminatorFieldName; variable in JMS\\Serializer\\Metadata\\ClassMetadata
140 $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 …]
/plugin/findologicxmlexport/vendor/jms/serializer/src/
H A DXmlDeserializationVisitor.php243 …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,
H A DJsonDeserializationVisitor.php131 if (isset($data[$metadata->discriminatorFieldName])) {
132 return (string) $data[$metadata->discriminatorFieldName];
137 $metadata->discriminatorFieldName,
/plugin/findologicxmlexport/vendor/jms/serializer/src/Metadata/Driver/
H A DXmlDriver.php92 $discriminatorFieldName = (string) $elem->attributes()->{'discriminator-field-name'};
104 } elseif (!empty($discriminatorFieldName) || !empty($discriminatorMap)) {
109 … $metadata->setDiscriminator($discriminatorFieldName, $discriminatorMap, $discriminatorGroups);
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Metadata/Driver/
H A DBaseDriverTest.php304 self::assertEquals('type', $m->discriminatorFieldName);