/** * {@inheritdoc} */ public function process(ContextInterface $context) { /** @var Context $context */ if ($this->isJsonApiRequest($context->getRequestHeaders())) { $context->setRequestType(RequestType::JSON_API); } }
/** * {@inheritdoc} */ public function process(ContextInterface $context) { /** @var Context $context */ if ($this->isJsonApiRequest($context->getRequestHeaders())) { $context->setRequestType(RequestType::JSON_API); } }