Documentation

PHPUnit_Util_TestDox_NamePrettifier
in package

Prettifies class and method names for use in TestDox documentation.

Tags
since

Class available since Release 2.1.0

Table of Contents

$prefix  : string
$strings  : array<string|int, mixed>
$suffix  : string
prettifyTestClass()  : string
Prettifies the name of a test class.
prettifyTestMethod()  : string
Prettifies the name of a test method.
setPrefix()  : mixed
Sets the prefix of test names.
setSuffix()  : mixed
Sets the suffix of test names.

Properties

Methods

prettifyTestClass()

Prettifies the name of a test class.

public prettifyTestClass(string $name) : string
Parameters
$name : string
Return values
string

prettifyTestMethod()

Prettifies the name of a test method.

public prettifyTestMethod(string $name) : string
Parameters
$name : string
Return values
string

setPrefix()

Sets the prefix of test names.

public setPrefix(string $prefix) : mixed
Parameters
$prefix : string
Return values
mixed

setSuffix()

Sets the suffix of test names.

public setSuffix(string $suffix) : mixed
Parameters
$suffix : string
Return values
mixed

Search results