Documentation

DiscriminatorMap
in package

Annotation class for @DiscriminatorMap().

Tags
Annotation
NamedArgumentConstructor
Target

({"CLASS"})

author

Samuel Roze samuel.roze@gmail.com

Table of Contents

Properties

$mapping  : array<string|int, mixed>
$typeProperty  : string

Methods

__construct()  : mixed
getMapping()  : array<string|int, mixed>
getTypeProperty()  : string

Properties

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
Return values
string

        
On this page

Search results