FormatterElement

A wrapper for the implementations of PHPUnit2ResultFormatter.

author

Michiel Rook mrook@php.net

version

$Id: 296214ebac3a12e51bffed3dcc2c0bb93fb0754e $

package

phing.tasks.ext.phpunit

since 2.1.0

Methods

Sets parent task

setParent(\Task $parent) 

Arguments

$parent

\Task

Calling Task

Loads a specific formatter type

setType(string $type) 

Arguments

$type

string

Loads a specific formatter class

setClassName($className) 

Arguments

$className

Sets whether to store formatting results in a file

setUseFile($useFile) 

Arguments

$useFile

Returns whether to store formatting results in a file

getUseFile() 

Sets output directory

setToDir(string $toDir) 

Arguments

$toDir

string

Returns output directory

getToDir() : string

Response

string

Sets output filename

setOutfile(string $outfile) 

Arguments

$outfile

string

Returns output filename

getOutfile() : string

Response

string

Returns extension

getExtension() : string

Response

string

Returns formatter object

getFormatter() : \PHPUnitResultFormatter

Properties

formatter

formatter : 

type

type : 

useFile

useFile : 

toDir

toDir : 

outfile

outfile : 

parent

parent :