abstract protected function WSDecoderBase::decode in Web Service Data 2.0.x
Same name and namespace in other branches
- 8 src/Plugin/WSDecoderBase.php \Drupal\wsdata\Plugin\WSDecoderBase::decode()
Decode the web service response string into an array.
1 call to WSDecoderBase::decode()
- WSDecoderBase::addData in src/
Plugin/ WSDecoderBase.php - Add data to an empty object or replace all existing data.
4 methods override WSDecoderBase::decode()
- WSDecoderJSON::decode in src/
Plugin/ WSDecoder/ WSDecoderJSON.php - Decode the web service response string into an array.
- WSDecoderString::decode in src/
Plugin/ WSDecoder/ WSDecoderString.php - Return data as is.
- WSDecoderXML::decode in src/
Plugin/ WSDecoder/ WSDecoderXML.php - Decode the web service response string.
- WSExampleBlockDecoder::decode in modules/
wsdata_example/ src/ Plugin/ WSDecoder/ WSExampleBlockDecoder.php - Decode the web service response string into an array.
File
- src/
Plugin/ WSDecoderBase.php, line 51
Class
- WSDecoderBase
- Base class for Wsdecoder plugin plugins.
Namespace
Drupal\wsdata\PluginCode
protected abstract function decode($data);