mappers/FlattenMapper.php

Show: inherited
Table of Contents

Removes any directory information from the passed path.

Author
Andreas Aderhold  
Package
phing.mappers  
Version
$Id$  

\FlattenMapper

Package: phing\mappers

Removes any directory information from the passed path.

Parent(s)
\FileNameMapper
Author
Andreas Aderhold  
Version
$Id$  

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(  $from ) : void

Ignored here.

Parameters
Name Type Description
$from
methodpublicsetTo(  $to ) : void

Ignored here.

Parameters
Name Type Description
$to
Documentation was generated by DocBlox 0.18.1.