Your IP : 216.73.216.97


Current Path : /var/www/clients/client3/web2/web/vendor/magento/module-csp/Api/Data/
Upload File :
Current File : /var/www/clients/client3/web2/web/vendor/magento/module-csp/Api/Data/PolicyInterface.php

<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
declare(strict_types=1);

namespace Magento\Csp\Api\Data;

/**
 * Defined Content Security Policy.
 *
 * Different policies will have different types of data but they all will have identifiers and string representations.
 */
interface PolicyInterface
{
    /**
     * Policy unique name (ID).
     *
     * @return string
     */
    public function getId(): string;

    /**
     * Value of the policy.
     *
     * @return string
     */
    public function getValue(): string;
}