1 | <?php |
||
8 | class EcwidStoreProfile implements ResourceOwnerInterface |
||
9 | { |
||
10 | use ArrayAccessorTrait; |
||
11 | |||
12 | /** |
||
13 | * Raw response |
||
14 | * |
||
15 | * @var |
||
16 | */ |
||
17 | protected $response; |
||
18 | |||
19 | /** |
||
20 | * Creates new resource owner. |
||
21 | 9 | * |
|
22 | * @param $response |
||
23 | 9 | */ |
|
24 | 9 | public function __construct($response) |
|
28 | |||
29 | /** |
||
30 | * Returns the identifier of the store |
||
31 | 6 | * |
|
32 | * @return mixed |
||
33 | 6 | */ |
|
34 | public function getId() |
||
38 | |||
39 | |||
40 | /** |
||
41 | * Returns store owner email |
||
42 | 6 | * |
|
43 | * @return null |
||
44 | 6 | */ |
|
45 | public function getEmail() |
||
49 | |||
50 | |||
51 | /** |
||
52 | * Return all of the owner details available as an array. |
||
53 | * Array get is RAW |
||
54 | 6 | * |
|
55 | * @return array |
||
56 | 6 | */ |
|
57 | public function toArray() |
||
61 | } |
||
62 |