You are here

public function WSDecoderInterface::addData in Web Service Data 8

Same name and namespace in other branches
  1. 2.0.x src/Plugin/WSDecoderInterface.php \Drupal\wsdata\Plugin\WSDecoderInterface::addData()

Add raw data to be parsed.

1 method overrides WSDecoderInterface::addData()
WSDecoderBase::addData in src/Plugin/WSDecoderBase.php
Add data to an empty object or replace all existing data.

File

src/Plugin/WSDecoderInterface.php, line 30

Class

WSDecoderInterface
Defines an interface for Wsdecoder plugin plugins.

Namespace

Drupal\wsdata\Plugin

Code

public function addData($data, $lang = NULL, $context = []);