mappers/FlattenMapper.php

Show: inherited
Table of Contents

Removes any directory information from the passed path.

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

\FlattenMapper

Package: phing\mappers

Removes any directory information from the passed path.

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

Methods

methodpublicmain( string $sourceFileName ) : array

The mapper implementation. Returns string with source filename but without leading directory information

Parameters
Name Type Description
$sourceFileName string

The data the mapper works on

Returns
Type Description
array The data after the mapper has been applied
methodpublicsetFrom( string $from ) : void

Ignored here.

Parameters
Name Type Description
$from string

On what this mapper should work

methodpublicsetTo( 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.15.1.