FlattenMapper

Implements \FileNameMapper

Removes any directory information from the passed path.

author

Andreas Aderhold andi@binarycloud.com

version

$Id$

package

phing.mappers

Methods

The mapper implementation. Returns string with source filename but without leading directory information

main(string $sourceFileName) : array

Arguments

$sourceFileName

string

The data the mapper works on

Response

array

The data after the mapper has been applied

Ignored here.

setTo($to) 

Arguments

$to

Ignored here.

setFrom($from) 

Arguments

$from