interface MiddlewareCollectorInterface in Acquia Content Hub 8
Middleware interface for the collector.
@package Drupal\acquia_contenthub\Middleware
Hierarchy
- interface \Drupal\acquia_contenthub\Middleware\MiddlewareCollectorInterface
Expanded class hierarchy of MiddlewareCollectorInterface
All classes that implement MiddlewareCollectorInterface
File
- src/
Middleware/ MiddlewareCollectorInterface.php, line 12
Namespace
Drupal\acquia_contenthub\MiddlewareView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MiddlewareCollectorInterface:: |
public | function | Adds the middleware for HMAC. | 1 |
MiddlewareCollectorInterface:: |
public | function | Gets the middleware. | 1 |