Lggr
Public Member Functions | Protected Attributes | List of all members
PHPUnit\Util\TestDox\NamePrettifier Class Reference

Public Member Functions

 prettifyTestClass ($name)
 
 prettifyTestMethod ($name)
 
 setPrefix ($prefix)
 
 setSuffix ($suffix)
 

Protected Attributes

 $prefix = 'Test'
 
 $suffix = 'Test'
 
 $strings = []
 

Detailed Description

Prettifies class and method names for use in TestDox documentation.

Member Function Documentation

◆ prettifyTestClass()

PHPUnit\Util\TestDox\NamePrettifier::prettifyTestClass (   $name)

Prettifies the name of a test class.

Parameters
string$name
Returns
string

◆ prettifyTestMethod()

PHPUnit\Util\TestDox\NamePrettifier::prettifyTestMethod (   $name)

Prettifies the name of a test method.

Parameters
string$name
Returns
string

◆ setPrefix()

PHPUnit\Util\TestDox\NamePrettifier::setPrefix (   $prefix)

Sets the prefix of test names.

Parameters
string$prefix

◆ setSuffix()

PHPUnit\Util\TestDox\NamePrettifier::setSuffix (   $suffix)

Sets the suffix of test names.

Parameters
string$suffix

The documentation for this class was generated from the following file: