1 | <?php |
||
9 | final class DiscriminatorBuilder implements Objects\DiscriminatorFactory |
||
10 | { |
||
11 | private $mapping = []; |
||
12 | |||
13 | private $propertyName; |
||
14 | |||
15 | 2 | public function createDiscriminator(): Objects\Discriminator |
|
22 | |||
23 | 1 | public function setMapping(array $mapping): self |
|
29 | |||
30 | 2 | public function setPropertyName(string $propertyName): self |
|
36 | |||
37 | 2 | private function getMapping(): array |
|
41 | |||
42 | 2 | private function getPropertyName(): string |
|
46 | } |
||
47 |