| 1 | <?php |
||
| 10 | class MiddlenameMapper extends AbstractMapper |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * map middlenames in the parts array |
||
| 14 | * |
||
| 15 | * @param array $parts the name parts |
||
| 16 | * @return array the mapped parts |
||
| 17 | */ |
||
| 18 | public function map(array $parts): array |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param $start |
||
| 35 | * @param $parts |
||
| 36 | * @return mixed |
||
| 37 | */ |
||
| 38 | protected function mapFrom($start, $parts): array |
||
| 58 | } |
||
| 59 |