PHP Class HippoPHP\Hippo\Reporters\CheckstyleReporter

Author: James Brooks ([email protected])
Inheritance: implements HippoPHP\Hippo\Reporters\ReporterInterface
Datei anzeigen Open project: hippophp/hippo Class Usage Examples

Protected Properties

Property Type Description
$fileSystem HippoPHP\Hippo\FileSystem
$filename string
$writer XMLWriter XML Writer.

Public Methods

Method Description
__construct ( FileSystem $fileSystem ) Creates a new writer object, ready to write XML.
addCheckResults ( File $file, array $checkResults ) Defined by ReportInterface.
finish ( ) Defined by ReportInterface.
setFilename ( $fileName )
start ( ) Defined by ReportInterface.

Method Details

__construct() public method

Creates a new writer object, ready to write XML.
public __construct ( FileSystem $fileSystem )
$fileSystem HippoPHP\Hippo\FileSystem

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 ( )

setFilename() public method

public setFilename ( $fileName )

start() public method

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

Property Details

$fileSystem protected_oe property

protected FileSystem,HippoPHP\Hippo $fileSystem
return HippoPHP\Hippo\FileSystem

$filename protected_oe property

protected string $filename
return string

$writer protected_oe property

XML Writer.
protected XMLWriter $writer
return XMLWriter