mappers/FlattenMapper.php
Removes any directory information from the passed path.
- Author
- Andreas Aderhold
- Package
- phing.mappers
- Version
- $Id$
\FlattenMapper
Package: phing\mappers
Removes any directory information from the passed path.
- Parent(s)
- \FileNameMapper
- Author
- Andreas Aderhold
- Version
- $Id$
Methods

main(
string $sourceFileName
)
:
arrayThe mapper implementation. Returns string with source filename but without leading directory information
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $sourceFileName | string | The data the mapper works on |
| Type | Description |
|---|---|
| array | The data after the mapper has been applied |