You are here

public function XmlParser::__construct in Feeds extensible parsers 8

Constructs a JsonParserBase object.

Parameters

array $configuration: The plugin configuration.

string $plugin_id: The plugin id.

array $plugin_definition: The plugin definition.

\Drupal\feeds_ex\Utility\XmlUtility $utility: The XML helper class.

Overrides ParserBase::__construct

File

src/Feeds/Parser/XmlParser.php, line 79

Class

XmlParser
Defines a XML parser using XPath.

Namespace

Drupal\feeds_ex\Feeds\Parser

Code

public function __construct(array $configuration, $plugin_id, array $plugin_definition, XmlUtility $utility) {
  $this->utility = $utility;
  parent::__construct($configuration, $plugin_id, $plugin_definition);
}