26 lines
595 B
PHP
26 lines
595 B
PHP
|
<?php
|
||
|
|
||
|
/*
|
||
|
* This file is part of SwiftMailer.
|
||
|
* (c) 2018 Christian Schmidt
|
||
|
*
|
||
|
* For the full copyright and license information, please view the LICENSE
|
||
|
* file that was distributed with this source code.
|
||
|
*/
|
||
|
|
||
|
/**
|
||
|
* Email address encoder.
|
||
|
*
|
||
|
* @author Christian Schmidt
|
||
|
*/
|
||
|
interface Swift_AddressEncoder
|
||
|
{
|
||
|
/**
|
||
|
* Encodes an email address.
|
||
|
*
|
||
|
* @throws Swift_AddressEncoderException if the email cannot be represented in
|
||
|
* the encoding implemented by this class
|
||
|
*/
|
||
|
public function encodeString(string $address): string;
|
||
|
}
|