PHP 8.3.31
Preview: MetadataHeader.php Size: 680 B
/home/getspomw/royalsquad.us/vendor/symfony/mailer/Header/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
{
    public function __construct(
        private string $key,
        string $value,
    ) {
        parent::__construct('X-Metadata-'.$key, $value);
    }

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

Directory Contents

Dirs: 0 × Files: 3

Name Size Perms Modified Actions
4.17 KB lrw-r--r-- 2026-04-27 08:45:27
Edit Download
680 B lrw-rw-rw- 2025-09-17 06:53:22
Edit Download
547 B lrw-rw-rw- 2025-09-17 06:53:22
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).