1 | <?php |
||
17 | final class DocumentMapping implements ObjectMappingInterface |
||
18 | { |
||
19 | /** |
||
20 | * @var ResolverInterface |
||
21 | */ |
||
22 | private $resolver; |
||
23 | |||
24 | /** |
||
25 | * @param ResolverInterface $resolver |
||
26 | */ |
||
27 | public function __construct(ResolverInterface $resolver) |
||
31 | |||
32 | /** |
||
33 | * @return string |
||
34 | */ |
||
35 | public function getClass(): string |
||
39 | |||
40 | /** |
||
41 | * @return ConstraintInterface[] |
||
42 | */ |
||
43 | public function getConstraints(): array |
||
47 | |||
48 | /** |
||
49 | * @return PropertyMappingInterface[] |
||
50 | */ |
||
51 | public function getPropertyMappings(): array |
||
58 | } |
||
59 |