classes/phing/tasks/ext/phpunit/FormatterElement.php

\FormatterElement

A wrapper for the implementations of PHPUnit2ResultFormatter.

author
Michiel Rook
package
phing.tasks.ext.phpunit
since
2.1.0
version
$Id: FormatterElement.php 794 2010-06-24 14:16:00Z mrook $

Properties

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

Methods

methodpublic  getExtension( ) : string
Returns extension
Returns
Type Description
string
methodpublic  getFormatter( ) : \PHPUnitResultFormatter
Returns formatter object
Returns
Type Description
\PHPUnitResultFormatter
methodpublic  getOutfile( ) : string
Returns output filename
Returns
Type Description
string
methodpublic  getToDir( ) : string
Returns output directory
Returns
Type Description
string
methodpublic  getUseFile( ) :
Returns whether to store formatting results in a file
methodpublic  setClassName(  $className ) :
Loads a specific formatter class
Parameters
Name Type Description
$className
methodpublic  setOutfile( string $outfile ) :
Sets output filename
Parameters
Name Type Description
$outfile string
methodpublic  setParent( \Task $parent ) :
Sets parent task
Parameters
Name Type Description
$parent \Task Calling Task
methodpublic  setToDir( string $toDir ) :
Sets output directory
Parameters
Name Type Description
$toDir string
methodpublic  setType( string $type ) :
Loads a specific formatter type
Parameters
Name Type Description
$type string
methodpublic  setUseFile(  $useFile ) :
Sets whether to store formatting results in a file
Parameters
Name Type Description
$useFile
Documentation was generated by DocBlox 0.13.1.