class ClassDiscriminatorFromClassMetadata implements ClassDiscriminatorResolverInterface

Methods

__construct(ClassMetadataFactoryInterface $classMetadataFactory)

No description

ClassDiscriminatorMapping|null
getMappingForClass(string $class)

No description

ClassDiscriminatorMapping|null
getMappingForMappedObject(object|string $object)

No description

string|null
getTypeForMappedObject(object|string $object)

No description

Details

at line 27
__construct(ClassMetadataFactoryInterface $classMetadataFactory)

Parameters

ClassMetadataFactoryInterface $classMetadataFactory

at line 35
ClassDiscriminatorMapping|null getMappingForClass(string $class)

Parameters

string $class

Return Value

ClassDiscriminatorMapping|null

at line 47
ClassDiscriminatorMapping|null getMappingForMappedObject(object|string $object)

Parameters

object|string $object

Return Value

ClassDiscriminatorMapping|null

at line 68
string|null getTypeForMappedObject(object|string $object)

Parameters

object|string $object

Return Value

string|null