classes/phing/mappers/FlattenMapper.php
Removes any directory information from the passed path.
- author
- Andreas Aderhold
- package
- phing.mappers
- version
- $Revision: 526 $
Removes any directory information from the passed path.
- Implements
- \FileNameMapper
- author
- Andreas Aderhold
- package
- phing.mappers
- version
- $Revision: 526 $
Methods



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



setFrom(
$from
)
:
Ignored here.
Parameters
| Name |
Type |
Description |
| $from |
|
|



setTo(
$to
)
:
Ignored here.
Parameters
| Name |
Type |
Description |
| $to |
|
|