F.5 MergeMapper
Prev | Appendix F. Core mappers | Next

## F.5 MergeMapper

The `MergeMapper` changes all source filenames to the same filename.

### F.5.1 Examples

    <mapper type="merge" to="test.tar"/>

Applying the mapper, you will get the following results from the following filenames:

Table F.4: Result of mapping

From | To
--- | ---
`test.txt` | `test.tar`
`./foo/bar/test.txt` | `test.tar`
`mytxt` | `test.tar`
`SomeClass.php` | `test.tar`

Prev | Up | Next
F.4 IdentityMapper | Home | F.6 RegexpMapper