# mappers/IdentityMapper.php

This mapper does nothing ;)

Author
  Andreas Aderhold
Author
  Hans Lellelid
Package
  phing.mappers
Version
  $Revision: 526 $

## \IdentityMapper
jump to top

Package: phing\mappers

This mapper does nothing ;)

Implements
  \FileNameMapper
Author
  Andreas Aderhold
Author
  Hans Lellelid
Version
  $Revision: 526 $

### Methods

`main( string $sourceFileName ) : array`

The mapper implementation. Basically does nothing in this case.

Parameters

Name | Type | Description
--- | --- | ---
$sourceFileName | string | The data the mapper works on.

Returns

Type | Description
--- | ---
array | The data after the mapper has been applied

`setFrom( string $from ) : void`

Ignored here.

Parameters

Name | Type | Description
--- | --- | ---
$from | string | On what this mapper should work

`setTo( string $to ) : void`

Ignored here.

Parameters

Name | Type | Description
--- | --- | ---
$to | string | To what this mapper should convert the from string

Documentation was generated by DocBlox 0.17.1.