PHP Class HippoPHP\Hippo\Reporters\ArrayReporter

Author: James Brooks ([email protected])
Inheritance: implements HippoPHP\Hippo\Reporters\ReporterInterface
Mostrar archivo Open project: hippophp/hippo

Protected Properties

Property Type Description
$report array Report array.

Public Methods

Method Description
addCheckResults ( File $file, array $checkResults ) Defined by ReportInterface.
finish ( ) Defined by ReportInterface.
getReport ( ) : array Returns the reports array.
start ( ) Defined by ReportInterface.

Private Methods

Method Description
getArrayKey ( Violation $violation ) : string Generates a key for a violation.

Method Details

addCheckResults() public method

Defined by ReportInterface.
See also: ReportInterface::addCheckResults()
public addCheckResults ( File $file, array $checkResults )
$file HippoPHP\Hippo\File
$checkResults array

finish() public method

Defined by ReportInterface.
See also: ReportInterface::finish()
public finish ( )

getReport() public method

Returns the reports array.
public getReport ( ) : array
return array

start() public method

Defined by ReportInterface.
See also: ReportInterface::start()
public start ( )

Property Details

$report protected_oe property

Report array.
protected array $report
return array