| 1 | <?php |
||
| 23 | class ClassMetadata extends GenericMetadata implements ClassMetadataInterface |
||
| 24 | { |
||
| 25 | /*** |
||
| 26 | * @var PropertyMetadataInterface|null |
||
| 27 | * @internal |
||
| 28 | */ |
||
| 29 | public $discField; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @var array |
||
| 33 | * @internal |
||
| 34 | */ |
||
| 35 | public $discMap; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @inheritdoc |
||
| 39 | */ |
||
| 40 | 6 | public function getDiscriminatorField() |
|
| 44 | |||
| 45 | /** |
||
| 46 | * Sets discriminator field |
||
| 47 | * |
||
| 48 | * @param PropertyMetadataInterface|null $field |
||
| 49 | * @return $this |
||
| 50 | */ |
||
| 51 | 8 | public function setDiscriminatorField(PropertyMetadataInterface $field = null) |
|
| 57 | |||
| 58 | /** |
||
| 59 | * Sets discriminator map |
||
| 60 | * |
||
| 61 | * @param array $map |
||
| 62 | * @return $this |
||
| 63 | */ |
||
| 64 | 9 | public function setDiscriminatorMap(array $map) |
|
| 70 | |||
| 71 | /** |
||
| 72 | * @inheritdoc |
||
| 73 | */ |
||
| 74 | 7 | public function getDiscriminatorClass($value) |
|
| 85 | |||
| 86 | /** |
||
| 87 | * @inheritdoc |
||
| 88 | */ |
||
| 89 | 1 | public function mergeMetadata($metadata) |
|
| 93 | } |
||
| 94 |