interface ClassDiscriminatorResolverInterface

Knows how to get the class discriminator mapping for classes and objects.

Methods

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 26
ClassDiscriminatorMapping|null getMappingForClass(string $class)

Parameters

string $class

Return Value

ClassDiscriminatorMapping|null

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

Parameters

object|string $object

Return Value

ClassDiscriminatorMapping|null

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

Parameters

object|string $object

Return Value

string|null