classes/phing/mappers/FlattenMapper.php

Removes any directory information from the passed path.

author
Andreas Aderhold
package
phing.mappers
version
$Revision: 526 $

\FlattenMapper

Removes any directory information from the passed path.

Implements
\FileNameMapper
author
Andreas Aderhold
package
phing.mappers
version
$Revision: 526 $

Methods

methodpublic  main( 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
methodpublic  setFrom(  $from ) :
Ignored here.
Parameters
Name Type Description
$from
methodpublic  setTo(  $to ) :
Ignored here.
Parameters
Name Type Description
$to
Documentation was generated by DocBlox 0.13.1.