You are here

public function JsonParserBase::__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\JsonUtility $utility: The JSON helper class.

Overrides ParserBase::__construct

1 call to JsonParserBase::__construct()
JmesPathParser::__construct in src/Feeds/Parser/JmesPathParser.php
Constructs a JsonParserBase object.
1 method overrides JsonParserBase::__construct()
JmesPathParser::__construct in src/Feeds/Parser/JmesPathParser.php
Constructs a JsonParserBase object.

File

src/Feeds/Parser/JsonParserBase.php, line 33

Class

JsonParserBase
Base class for JSON based parsers.

Namespace

Drupal\feeds_ex\Feeds\Parser

Code

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