PHP Class alexia\mar\reporter

Show file Open project: alexia/php7mar

Public Methods

Method 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 method

Main Constructor
public __construct ( $projectPath, $reportFolder = null ) : void
return void

add() public method

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

addSections() public method

Add sections in the buffer to the output.
public addSections ( ) : void
return void

addToSection() public method

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

getReportFilePath() public method

Return the file path of the report.
public getReportFilePath ( ) : string
return string File Path

onShutdown() public method

Handle any file clean up on shutdown.
public onShutdown ( ) : void
return void