| 1 | <?php |
||
| 16 | class TypeMapper implements Mapper |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @var Type[] map where return variable name maps to Type |
||
| 20 | */ |
||
| 21 | private $types; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param $types Type[] map where return variable name maps to Type |
||
| 25 | */ |
||
| 26 | 1 | public function __construct(array $types) |
|
| 30 | |||
| 31 | /** |
||
| 32 | * @param array $record_set |
||
| 33 | * |
||
| 34 | * @return array |
||
| 35 | */ |
||
| 36 | 1 | public function map(array $record_set) |
|
| 54 | } |
||
| 55 |