Total Complexity | 2 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class Sns |
||
9 | { |
||
10 | /** |
||
11 | * @var SnsService |
||
12 | */ |
||
13 | protected $snsService; |
||
14 | |||
15 | 3 | public function __construct(SnsService $snsService) |
|
16 | { |
||
17 | 3 | $this->snsService = $snsService; |
|
18 | 3 | } |
|
19 | |||
20 | /** |
||
21 | * @param SnsMessage $message |
||
22 | * @param $destination |
||
23 | * @return \Aws\Result |
||
24 | * @throws AwsException |
||
25 | */ |
||
26 | 2 | public function send(SnsMessage $message, $destination) |
|
40 | } |
||
41 | } |
||
42 |