| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | 1 | public function getSesClient() |
|
| 15 | { |
||
| 16 | //Send the message (which must be base 64 encoded): |
||
| 17 | 1 | return new SesClient([ |
|
| 18 | 1 | 'credentials' => new Credentials( |
|
| 19 | 1 | $this->uri->getUsername(), |
|
| 20 | 1 | $this->uri->getPassword() |
|
| 21 | 1 | ), |
|
| 22 | 1 | 'region' => $this->uri->getHost(), |
|
| 23 | 'version' => '2010-12-01' |
||
| 24 | 1 | ]); |
|
| 25 | 1 | } |
|
| 26 | |||
| 55 |