You are here

interface MiddlewareCollectorInterface in Acquia Content Hub 8

Middleware interface for the collector.

@package Drupal\acquia_contenthub\Middleware

Hierarchy

Expanded class hierarchy of MiddlewareCollectorInterface

All classes that implement MiddlewareCollectorInterface

File

src/Middleware/MiddlewareCollectorInterface.php, line 12

Namespace

Drupal\acquia_contenthub\Middleware
View source
interface MiddlewareCollectorInterface {

  /**
   * Adds the middleware for HMAC.
   *
   * @param \Acquia\ContentHubClient\Middleware\MiddlewareHmacInterface $middleware
   *   Middleware for HMAC.
   *
   * @return mixed
   *   Middleware to add.
   */
  public function addMiddleware(MiddlewareHmacInterface $middleware);

  /**
   * Gets the middleware.
   *
   * @return mixed
   *   Middleware for client.
   */
  public function getMiddlewares();

}

Members

Namesort descending Modifiers Type Description Overrides
MiddlewareCollectorInterface::addMiddleware public function Adds the middleware for HMAC. 1
MiddlewareCollectorInterface::getMiddlewares public function Gets the middleware. 1