PHP Class Ecg\Magniffer\Inspector\Php

Inheritance: extends Ecg\Magniffer\Inspector
Mostra file Open project: magento-ecg/magniffer

Protected Properties

Property Type Description
$contentArray array
$domXpath DOMXPath
$parser PhpParser\Parser
$serializer PhpParser\Serializer\XML;
$simpleXml SimpleXMLElement

Public Methods

Method Description
__construct ( array $patterns, Report $report )
canInspect ( ) : boolean
inspect ( ) : Inspector
parse ( ) : Inspector

Protected Methods

Method Description
prepareIssue ( $xpath, SimpleXMLElement $node, array $pattern ) : array

Method Details

__construct() public method

public __construct ( array $patterns, Report $report )
$patterns array
$report Ecg\Magniffer\Report

canInspect() public method

public canInspect ( ) : boolean
return boolean

inspect() public method

public inspect ( ) : Inspector
return Ecg\Magniffer\Inspector

parse() public method

public parse ( ) : Inspector
return Ecg\Magniffer\Inspector

prepareIssue() protected method

protected prepareIssue ( $xpath, SimpleXMLElement $node, array $pattern ) : array
$xpath
$node SimpleXMLElement
$pattern array
return array

Property Details

$contentArray protected_oe property

protected array $contentArray
return array

$domXpath protected_oe property

protected DOMXPath $domXpath
return DOMXPath

$parser protected_oe property

protected Parser,PhpParser $parser
return PhpParser\Parser

$serializer protected_oe property

protected XML;,PhpParser\Serializer $serializer
return PhpParser\Serializer\XML;

$simpleXml protected_oe property

protected SimpleXMLElement $simpleXml
return SimpleXMLElement