Interface for filename mapper classes.

author Andreas Aderhold, andi@binarycloud.com
author Hans Lellelid
version $Id$
package phing.mappers

 Methods

The mapper implementation.

main(mixed $sourceFileName) : array

Parameters

$sourceFileName

mixed

The data the mapper works on.

Returns

arrayThe data after the mapper has been applied; must be in array format (for some reason).

Accessor.

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

Accessor.

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