tasks/ext/phpunit/FormatterElement.php
$Id: FormatterElement.php 794 2010-06-24 14:16:00Z mrook $
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This software consists of voluntary contributions made by many individuals and is licensed under the LGPL. For more information please see http://phing.info.
\FormatterElement
A wrapper for the implementations of PHPUnit2ResultFormatter.
- Children
- \SimpleTestFormatterElement
- Author
- Michiel Rook
- Since
- 2.1.0
- Version
- $Id: FormatterElement.php 794 2010-06-24 14:16:00Z mrook $
Properties
Methods

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

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

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

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

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

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