FlattenMapper

Implements \FileNameMapper

Removes any directory information from the passed path.

author

Andreas Aderhold andi@binarycloud.com

version

$Id: 0e7e5309e727425aa9405bc4663c804519f12e36 $

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.

setFrom( $from) : void

Arguments

$from

Ignored here.

setTo( $to) : void

Arguments

$to