class ClassDiscriminatorFromClassMetadata implements ClassDiscriminatorResolverInterface
__construct(ClassMetadataFactoryInterface $classMetadataFactory) | ||
ClassDiscriminatorMapping|null | getMappingForClass(string $class) | |
ClassDiscriminatorMapping|null | getMappingForMappedObject(object|string $object) | |
string|null | getTypeForMappedObject(object|string $object) |
ClassMetadataFactoryInterface | $classMetadataFactory |
string | $class |
ClassDiscriminatorMapping|null |
object|string | $object |
ClassDiscriminatorMapping|null |
object|string | $object |
string|null |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Serializer/Mapping/ClassDiscriminatorFromClassMetadata.html