NamePrettifier
class NamePrettifier (View source)
Prettifies class and method names for use in TestDox documentation.
Properties
protected string | $prefix | ||
protected string | $suffix | ||
protected array | $strings |
Methods
string
prettifyTestClass(string $name)
Prettifies the name of a test class.
string
prettifyTestMethod(string $name)
Prettifies the name of a test method.
setPrefix(string $prefix)
Sets the prefix of test names.
setSuffix(string $suffix)
Sets the suffix of test names.
Details
at line 40
string
prettifyTestClass(string $name)
Prettifies the name of a test class.
at line 68
string
prettifyTestMethod(string $name)
Prettifies the name of a test method.
at line 128
setPrefix(string $prefix)
Sets the prefix of test names.
at line 138
setSuffix(string $suffix)
Sets the suffix of test names.