tasks/ext/phpunit/FormatterElement.php
\FormatterElement
Package: phing\tasks\ext\phpunit
A wrapper for the implementations of PHPUnit2ResultFormatter.
- Children
- \SimpleTestFormatterElement
- Author
- Michiel Rook
- Since
- 2.1.0
- Version
- $Id: 296214ebac3a12e51bffed3dcc2c0bb93fb0754e $
Properties
Methods

getFormatter(
)
:
\PHPUnitResultFormatterReturns formatter object
Returns
| Type | Description |
|---|---|
| \PHPUnitResultFormatter |

setClassName(
$className
)
:
voidLoads a specific formatter class
Parameters
| Name | Type | Description |
|---|---|---|
| $className |

setOutfile(
string $outfile
)
:
voidSets output filename
Parameters
| Name | Type | Description |
|---|---|---|
| $outfile | string |

setParent(
\Task $parent
)
:
voidSets parent task
Parameters
| Name | Type | Description |
|---|---|---|
| $parent | \Task | Calling Task |

setToDir(
string $toDir
)
:
voidSets output directory
Parameters
| Name | Type | Description |
|---|---|---|
| $toDir | string |

setType(
string $type
)
:
voidLoads a specific formatter type
Parameters
| Name | Type | Description |
|---|---|---|
| $type | string |