tasks/ext/phpunit/FormatterElement.php

Show: inherited
Table of Contents

\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

Propertyprotected  $formatter= 'NULL'
Default valueNULLDetails
Type
n/a
Propertyprotected  $outfile= '""'
Default value""Details
Type
n/a
Propertyprotected  $parent= 'NULL'
Default valueNULLDetails
Type
n/a
Propertyprotected  $toDir= '"."'
Default value"."Details
Type
n/a
Propertyprotected  $type= '""'
Default value""Details
Type
n/a
Propertyprotected  $useFile= 'true'
Default valuetrueDetails
Type
n/a

Methods

methodpublicgetExtension( ) : string

Returns extension

Returns
Type Description
string
methodpublicgetFormatter( ) : \PHPUnitResultFormatter

Returns formatter object

Returns
Type Description
\PHPUnitResultFormatter
methodpublicgetOutfile( ) : string

Returns output filename

Returns
Type Description
string
methodpublicgetToDir( ) : string

Returns output directory

Returns
Type Description
string
methodpublicgetUseFile( ) : void

Returns whether to store formatting results in a file

methodpublicsetClassName(  $className ) : void

Loads a specific formatter class

Parameters
Name Type Description
$className
methodpublicsetOutfile( string $outfile ) : void

Sets output filename

Parameters
Name Type Description
$outfile string
methodpublicsetParent( \Task $parent ) : void

Sets parent task

Parameters
Name Type Description
$parent \Task

Calling Task

methodpublicsetToDir( string $toDir ) : void

Sets output directory

Parameters
Name Type Description
$toDir string
methodpublicsetType( string $type ) : void

Loads a specific formatter type

Parameters
Name Type Description
$type string
methodpublicsetUseFile(  $useFile ) : void

Sets whether to store formatting results in a file

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