-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathISMSCProvider.php
52 lines (43 loc) · 884 Bytes
/
ISMSCProvider.php
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
51
52
<?php
/**
* @author nek
* @link https://github.com/nek-v/yii-esmsc
* @version $Id$
*/
interface ISMSCProvider {
/**
* @param ESMSC $component
* @param array $options
*/
public function init($component, $options = array());
/**
* @param string $key
* @param mixed $default
*/
public function getAttribute($key, $default = null);
/**
*
*/
public function getAttributes();
/**
* @return string
*/
public function getProviderName();
/**
* @return string
*/
public function getProviderTitle();
/**
* @return ESMSC
*/
public function getComponent();
/**
* @param ESMSC $component
*/
public function setComponent($component);
/**
* @param mixed $phone
* @param string $message
*/
public function send($phone, $message);
}