vaibhavpandeyvpz/phemail

View on GitHub
src/Message/HeaderInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

/*
 * This file is part of vaibhavpandeyvpz/phemail package.
 *
 * (c) Vaibhav Pandey <contact@vaibhavpandey.com>
 *
 * This source file is subject to the MIT license that is bundled
 * with this source code in the file LICENSE.md.
 */

namespace Phemail\Message;

/**
 * Interface HeaderInterface
 */
interface HeaderInterface
{
    /**
     * @return string
     */
    public function getValue();

    /**
     * @return string[]
     */
    public function getAttributes();

    /**
     * @param  string  $name
     * @return string
     */
    public function getAttribute($name);
}