PHP Class HippoPHP\Hippo\Reporters\ArrayReporter

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

Protected Properties

Свойство Type Description
$report array Report array.

Méthodes publiques

Méthode 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

Méthode Description
getArrayKey ( Violation $violation ) : string Generates a key for a violation.

Method Details

addCheckResults() public méthode

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

finish() public méthode

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

getReport() public méthode

Returns the reports array.
public getReport ( ) : array
Résultat array

start() public méthode

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

Property Details

$report protected_oe property

Report array.
protected array $report
Résultat array