Classes List

Swift_AddressEncoder

 1 
 2 
 3 
 4 
 5 
 6 
 7 
 8 
 9 
 10 
 11 
 12 
 13 
 14 
 15 
 16 
 17 
 18 
 19 
 20 
 21 
 22 
 23 
 24 
 25 
 26 
<?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;
}