1 | <?php |
||
10 | final class LazyObjectMapping implements ObjectMappingInterface |
||
11 | { |
||
12 | /** |
||
13 | * @var ContainerInterface |
||
14 | */ |
||
15 | private $container; |
||
16 | |||
17 | /** |
||
18 | * @var string |
||
19 | */ |
||
20 | private $serviceId; |
||
21 | |||
22 | /** |
||
23 | * @var string |
||
24 | */ |
||
25 | private $class; |
||
26 | |||
27 | /** |
||
28 | * @param ContainerInterface $container |
||
29 | * @param string $serviceId |
||
30 | * @param string $class |
||
31 | */ |
||
32 | public function __construct(ContainerInterface $container, string $serviceId, string $class) |
||
38 | |||
39 | /** |
||
40 | * @return string |
||
41 | */ |
||
42 | public function getClass(): string |
||
46 | |||
47 | /** |
||
48 | * @return FieldMappingInterface[] |
||
49 | */ |
||
50 | public function getFieldMappings(): array |
||
54 | |||
55 | /** |
||
56 | * @return FieldMappingInterface[] |
||
57 | */ |
||
58 | public function getEmbeddedFieldMappings(): array |
||
62 | |||
63 | /** |
||
64 | * @return LinkMappingInterface[] |
||
65 | */ |
||
66 | public function getLinkMappings(): array |
||
70 | } |
||
71 |