Ecg\Magniffer\Inspector\Php::__construct PHP Method

__construct() public method

public __construct ( array $patterns, Report $report )
$patterns array
$report Ecg\Magniffer\Report
    public function __construct(array $patterns, Report $report)
    {
        parent::__construct($patterns, $report);
        $this->dom = new DOMDocument();
        $this->parser = new PhpParser\Parser(new PhpParser\Lexer\Emulative());
        $this->serializer = new PhpParser\Serializer\XML();
    }