mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2025-02-22 00:59:24 +01:00
34 lines
670 B
PHP
34 lines
670 B
PHP
|
<?php
|
||
|
|
||
|
/**
|
||
|
* @see https://github.com/laminas/laminas-mail for the canonical source repository
|
||
|
* @copyright https://github.com/laminas/laminas-mail/blob/master/COPYRIGHT.md
|
||
|
* @license https://github.com/laminas/laminas-mail/blob/master/LICENSE.md New BSD License
|
||
|
*/
|
||
|
|
||
|
namespace Laminas\Mail\Address;
|
||
|
|
||
|
interface AddressInterface
|
||
|
{
|
||
|
/**
|
||
|
* Retrieve email
|
||
|
*
|
||
|
* @return string
|
||
|
*/
|
||
|
public function getEmail();
|
||
|
|
||
|
/**
|
||
|
* Retrieve name, if any
|
||
|
*
|
||
|
* @return null|string
|
||
|
*/
|
||
|
public function getName();
|
||
|
|
||
|
/**
|
||
|
* String representation of address
|
||
|
*
|
||
|
* @return string
|
||
|
*/
|
||
|
public function toString();
|
||
|
}
|