public function MiddlewareCollectorInterface::addMiddleware in Acquia Content Hub 8
Adds the middleware for HMAC.
Parameters
\Acquia\ContentHubClient\Middleware\MiddlewareHmacInterface $middleware: Middleware for HMAC.
Return value
mixed Middleware to add.
1 method overrides MiddlewareCollectorInterface::addMiddleware()
- MiddlewareCollector::addMiddleware in src/
Middleware/ MiddlewareCollector.php - Adds the middleware for HMAC.
File
- src/
Middleware/ MiddlewareCollectorInterface.php, line 23
Class
- MiddlewareCollectorInterface
- Middleware interface for the collector.
Namespace
Drupal\acquia_contenthub\MiddlewareCode
public function addMiddleware(MiddlewareHmacInterface $middleware);