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(
)
:
\PHPUnitResultFormatter
Returns formatter object
Returns
Type | Description |
---|---|
\PHPUnitResultFormatter |


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


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


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


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


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