You are here

WSEncoderInterface.php in Web Service Data 8

Same filename and directory in other branches
  1. 2.0.x src/Plugin/WSEncoderInterface.php

File

src/Plugin/WSEncoderInterface.php
View source
<?php

namespace Drupal\wsdata\Plugin;

use Drupal\Component\Plugin\PluginInspectionInterface;

/**
 * Defines an interface for Web Service Encoder plugins.
 */
interface WSEncoderInterface extends PluginInspectionInterface {

  /**
   * Modify the given data before the call.
   */
  public function encode(&$data, &$replacement, &$url);

}

Interfaces

Namesort descending Description
WSEncoderInterface Defines an interface for Web Service Encoder plugins.