mirror of
https://github.com/bdnugget/magento2.git
synced 2026-11-07 09:17:35 +00:00
24 lines
648 B
PHP
24 lines
648 B
PHP
<?php
|
|
/**
|
|
* Copyright © Magento, Inc. All rights reserved.
|
|
* See COPYING.txt for license details.
|
|
*/
|
|
declare(strict_types=1);
|
|
|
|
namespace Magento\GraphQl\Model\Query;
|
|
|
|
use Magento\Authorization\Model\UserContextInterface;
|
|
|
|
/**
|
|
* Adding custom parameters to GraphQL context object using the top-level user context even if it has been updated
|
|
*/
|
|
interface UserContextParametersProcessorInterface extends ContextParametersProcessorInterface
|
|
{
|
|
/**
|
|
* Override the dependency-injected user context
|
|
*
|
|
* @param UserContextInterface $userContext
|
|
*/
|
|
public function setUserContext(UserContextInterface $userContext): void;
|
|
}
|