PHP Class alexia\mar\reporter

Afficher le fichier Open project: alexia/php7mar

Méthodes publiques

Méthode Description
__construct ( $projectPath, $reportFolder = null ) : void Main Constructor
add ( $line, $nlBefore, $nlAfter ) : void Add a new line to the report.
addSections ( ) : void Add sections in the buffer to the output.
addToSection ( $section, $test, $filePath, $lineNumber, $codeLine ) : void Add text to the specified section.
getReportFilePath ( ) : string Return the file path of the report.
onShutdown ( ) : void Handle any file clean up on shutdown.

Method Details

__construct() public méthode

Main Constructor
public __construct ( $projectPath, $reportFolder = null ) : void
Résultat void

add() public méthode

Add a new line to the report.
public add ( $line, $nlBefore, $nlAfter ) : void
Résultat void

addSections() public méthode

Add sections in the buffer to the output.
public addSections ( ) : void
Résultat void

addToSection() public méthode

Add text to the specified section.
public addToSection ( $section, $test, $filePath, $lineNumber, $codeLine ) : void
Résultat void

getReportFilePath() public méthode

Return the file path of the report.
public getReportFilePath ( ) : string
Résultat string File Path

onShutdown() public méthode

Handle any file clean up on shutdown.
public onShutdown ( ) : void
Résultat void