# mappers/MergeMapper.php

For merging files into a single file. In practice just returns whatever value was set for "to".

Author
  Andreas Aderhold
Package
  phing.mappers
Version
  $Revision: 1097 $

## \MergeMapper
jump to top

Package: phing\mappers

For merging files into a single file. In practice just returns whatever value was set for "to".

Implements
  \FileNameMapper
Author
  Andreas Aderhold
Version
  $Revision: 1097 $

### Properties

`$mergedFile= ''`

the merge

Details

Type

### Methods

`main( mixed $sourceFileName ) : mixed`

The mapper implementation. Basically does nothing in this case.

Parameters

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

Returns

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

Details

Access
  public
Author
  Andreas Aderhold, andi@binarycloud.com

`setFrom( string $from ) : void`

Ignored.

Parameters

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

`setTo( string $to ) : boolean`

Accessor. Sets the to property

Parameters

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

Returns

Type | Description
--- | ---
boolean | True

Details

Access
  public
Author
  Andreas Aderhold, andi@binarycloud.com

Documentation was generated by DocBlox 0.15.1.