Back | Home
الـ Path الحالي: /home/picotech/domains/instantly.picotech.app/public_html/vendor/theseer/../egulias/.././unicodeveloper/.././nunomaduro/../mews/../ramsey/.././paypal/../unicodeveloper/././../theseer/../iyzico/../ralouphie/.././fruitcake/../symfony/css-selector/../deprecation-contracts/../css-selector/../polyfill-intl-grapheme/../console/Input/../../mailer/Header
الملفات الموجودة في هذا الـ Path:
.
..
MetadataHeader.php
TagHeader.php

مشاهدة ملف: MetadataHeader.php

<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <fabien@symfony.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\Mailer\Header;

use Symfony\Component\Mime\Header\UnstructuredHeader;

/**
 * @author Kevin Bond <kevinbond@gmail.com>
 */
final class MetadataHeader extends UnstructuredHeader
{
    private string $key;

    public function __construct(string $key, string $value)
    {
        $this->key = $key;

        parent::__construct('X-Metadata-'.$key, $value);
    }

    public function getKey(): string
    {
        return $this->key;
    }
}