DiscriminatorMap
in package
Annotation class for @DiscriminatorMap().
Tags
Table of Contents
Properties
- $mapping : array<string|int, mixed>
- $typeProperty : string
Methods
- __construct() : mixed
- getMapping() : array<string|int, mixed>
- getTypeProperty() : string
Properties
$mapping
private
array<string|int, mixed>
$mapping
$typeProperty
private
string
$typeProperty
Methods
__construct()
public
__construct(string $typeProperty, array<string|int, mixed> $mapping) : mixed
Parameters
- $typeProperty : string
- $mapping : array<string|int, mixed>
getMapping()
public
getMapping() : array<string|int, mixed>
Return values
array<string|int, mixed>getTypeProperty()
public
getTypeProperty() : string