-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEmailInterface.php
More file actions
50 lines (47 loc) · 1021 Bytes
/
EmailInterface.php
File metadata and controls
50 lines (47 loc) · 1021 Bytes
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?php
/**
* Email Interface
*
* @package Email
* @copyright 2014-2015 Amy Stephen. All rights reserved.
* @license http://www.opensource.org/licenses/mit-license.html MIT License
*/
namespace CommonApi\Email;
/**
* Email Interface
*
* @package Email
* @license http://www.opensource.org/licenses/mit-license.html MIT License
* @copyright 2014-2015 Amy Stephen. All rights reserved.
* @since 1.0
*/
interface EmailInterface
{
/**
* Return parameter value or default
*
* @param string $key
* @param null|string $default
*
* @return mixed
* @since 1.0.0
*/
public function get($key, $default = null);
/**
* Set parameter value
*
* @param string $key
* @param null|mixed $value
*
* @return mixed
* @since 1.0.0
*/
public function set($key, $value = null);
/**
* Send Email
*
* @return $this
* @since 1.0.0
*/
public function send();
}