PHP Класс alexia\mar\reporter

Показать файл Открыть проект

Открытые методы

Метод Описание
__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.

Описание методов

__construct() публичный метод

Main Constructor
public __construct ( $projectPath, $reportFolder = null ) : void
Результат void

add() публичный метод

Add a new line to the report.
public add ( $line, $nlBefore, $nlAfter ) : void
Результат void

addSections() публичный метод

Add sections in the buffer to the output.
public addSections ( ) : void
Результат void

addToSection() публичный метод

Add text to the specified section.
public addToSection ( $section, $test, $filePath, $lineNumber, $codeLine ) : void
Результат void

getReportFilePath() публичный метод

Return the file path of the report.
public getReportFilePath ( ) : string
Результат string File Path

onShutdown() публичный метод

Handle any file clean up on shutdown.
public onShutdown ( ) : void
Результат void