Removes any directory information from the passed path.

author Andreas Aderhold
version $Id$
package phing.mappers

 Methods

The mapper implementation.

main(string $sourceFileName) : array

Returns string with source filename but without leading directory information

Parameters

$sourceFileName

string

The data the mapper works on

Returns

arrayThe data after the mapper has been applied

Ignored here.

setFrom(string $from) : void

Sets the from property. What this mapper should recognize. The actual implementation is dependent upon the child class

Parameters

$from

string

On what this mapper should work

Ignored here.

setTo(string $to) : void

Sets the to property. The actual implementation depends on the child class.

Parameters

$to

string

To what this mapper should convert the from string