Files
ltsecurityinc/app/code/Plumrocket/CookieConsent/Api/GetUserConsentInterface.php
T

28 lines
595 B
PHP

<?php
/**
* @package Plumrocket_CookieConsent
* @copyright Copyright (c) 2020 Plumrocket Inc. (https://plumrocket.com)
* @license https://plumrocket.com/license End-user License Agreement
*/
declare(strict_types=1);
namespace Plumrocket\CookieConsent\Api;
/**
* @since 1.0.0
*/
interface GetUserConsentInterface
{
public const COOKIE_CONSENT_NAME = 'pr-cookie-consent';
/**
* Get user consent.
*
* @return string[]
* @throws \Magento\Framework\Exception\NotFoundException if user haven't consent
*/
public function execute(): array;
}