class ClassDiscriminatorMapping

Methods

__construct(string $typeProperty, array $typesMapping = [])

No description

string
getTypeProperty()

No description

string|null
getClassForType(string $type)

No description

string|null
getMappedObjectType(object|string $object)

No description

array
getTypesMapping()

No description

Details

at line 22
__construct(string $typeProperty, array $typesMapping = [])

Parameters

string $typeProperty
array $typesMapping

at line 28
string getTypeProperty()

Return Value

string

at line 33
string|null getClassForType(string $type)

Parameters

string $type

Return Value

string|null

at line 43
string|null getMappedObjectType(object|string $object)

Parameters

object|string $object

Return Value

string|null

at line 54
array getTypesMapping()

Return Value

array