1 | <?php |
||
7 | class Map implements MapInterface |
||
8 | { |
||
9 | /** |
||
10 | * @var MappingInterface[] |
||
11 | */ |
||
12 | private $mappings = []; |
||
13 | |||
14 | /** |
||
15 | * @param MappingInterface[] $mappings |
||
16 | */ |
||
17 | 5 | public function __construct($mappings) |
|
23 | |||
24 | 5 | public function getMappings() |
|
28 | |||
29 | /** |
||
30 | * @param MappingInterface $mapping |
||
31 | */ |
||
32 | 5 | private function addMapping(MappingInterface $mapping) |
|
36 | } |
||
37 |