DiscriminatorMap
in package
Annotation class for @DiscriminatorMap().
Tags
Table of Contents
- $mapping : array<string|int, mixed>
- $typeProperty : string
- __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(array<string|int, mixed> $data) : mixed
Parameters
- $data : array<string|int, mixed>
Tags
Return values
mixed —getMapping()
public
getMapping() : array<string|int, mixed>
Return values
array<string|int, mixed> —getTypeProperty()
public
getTypeProperty() : string