class ClassDiscriminatorMapping

Methods

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

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

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

Parameters

string $typeProperty
array $typesMapping

string getTypeProperty()

Return Value

string

string|null getClassForType(string $type)

Parameters

string $type

Return Value

string|null

string|null getMappedObjectType(object|string $object)

Parameters

object|string $object

Return Value

string|null

array getTypesMapping()

Return Value

array