PHP Class HippoPHP\Hippo\Reporters\CheckstyleReporter

Author: James Brooks ([email protected])
Inheritance: implements HippoPHP\Hippo\Reporters\ReporterInterface
Show file 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 property

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

$filename protected property

protected string $filename
return string

$writer protected property

XML Writer.
protected XMLWriter $writer
return XMLWriter