Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | interface Mapping |
||
8 | { |
||
9 | /** |
||
10 | * Returns the fully qualified name of the class that this mapper maps. |
||
11 | * |
||
12 | * @return string |
||
13 | */ |
||
14 | public function mapFor(); |
||
15 | |||
16 | /** |
||
17 | * Load the object's metadata through the Metadata Builder object. |
||
18 | * |
||
19 | * @param Fluent $builder |
||
20 | */ |
||
21 | public function map(Fluent $builder); |
||
22 | |||
23 | /** |
||
24 | * Create the corresponding mapper and add it to the current mapper set. |
||
25 | * |
||
26 | * @param MapperSet $mappers |
||
27 | */ |
||
28 | public function addMapperTo(MapperSet $mappers); |
||
29 | } |
||
30 |