1 | <?php |
||
19 | trait Element |
||
20 | { |
||
21 | |||
22 | use Object; |
||
23 | |||
24 | /******************************************* |
||
25 | * ELEMENT -to- RECORD |
||
26 | *******************************************/ |
||
27 | |||
28 | /** |
||
29 | * @param ElementInterface $element |
||
30 | * @param Record $record |
||
31 | * @param bool $mirrorScenario |
||
32 | */ |
||
33 | public function transferToRecord(ElementInterface $element, Record $record, $mirrorScenario = true) |
||
49 | |||
50 | /** |
||
51 | * @param ElementInterface $element |
||
52 | * @param bool $mirrorScenario |
||
53 | * @return Record |
||
54 | */ |
||
55 | public function toRecord(ElementInterface $element, $mirrorScenario = true) |
||
79 | |||
80 | } |
||
81 |