abstract class AbstractAdapter
Reporter Adapters interface
All Reporter adapters must extend this abstract class and defines its abstract methods
Each reporter MUST define all entries of the \Library\Reporter\Reporter::$default_masks
array
as a class constant:
const mask_XXX = "<tag>%s</tag>";
Methods
string |
newLine()
Adapter new line sign |
|
string |
tab()
Adapter new tabulation |
|
string |
renderTag(string $content, string $tag_type = 'default')
Render a content with a specific tag mask |
Details
at line 48
public string
newLine()
Adapter new line sign
at line 58
public string
tab()
Adapter new tabulation
at line 107
abstract public string
renderTag(string $content, string $tag_type = 'default')
Render a content with a specific tag mask
The $tag_type
may be one of the \Library\Reporter\Reporter::$default_tag_types
array.