mirror of
https://github.com/bdnugget/magento2.git
synced 2026-11-07 09:17:35 +00:00
27 lines
627 B
PHP
27 lines
627 B
PHP
<?php
|
|
/**
|
|
* Copyright © Magento, Inc. All rights reserved.
|
|
* See COPYING.txt for license details.
|
|
*/
|
|
declare(strict_types=1);
|
|
|
|
namespace Magento\GraphQlResolverCache\Model\Resolver\Result\Cache;
|
|
|
|
/**
|
|
* Resolver cache identity interface.
|
|
*/
|
|
interface IdentityInterface
|
|
{
|
|
|
|
/**
|
|
* Get identity tags from resolved and parent resolver result data.
|
|
*
|
|
* Example: identityTag, identityTag_UniqueId.
|
|
*
|
|
* @param mixed $resolvedData
|
|
* @param array|null $parentResolvedData
|
|
* @return string[]
|
|
*/
|
|
public function getIdentities($resolvedData, ?array $parentResolvedData = null): array;
|
|
}
|