| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 15 | 
| Code Lines | 7 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 25 | public static function convert(\PhpGedcom\Record\Fam\Even\Wife &$wife, $level = 0) | ||
| 26 |     { | ||
| 27 | $output = ''; | ||
| 28 | |||
| 29 | $output .= $level." HUSB \n"; | ||
| 30 | // level up | ||
| 31 | $level++; | ||
| 32 | |||
| 33 | // AGE | ||
| 34 | $age = $wife->getAge(); | ||
|  | |||
| 35 |         if (!empty($age)) { | ||
| 36 | $output .= $level.' AGE '.$age."\n"; | ||
| 37 | } | ||
| 38 | |||
| 39 | return $output; | ||
| 40 | } | ||
| 42 |