Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
42 | 1 | public function fetchRecord() |
|
43 | { |
||
44 | 1 | $result = $this->sesClient->verifyDomainIdentity( |
|
45 | [ |
||
46 | 1 | 'Domain' => $this->identity->getIdentity(), |
|
47 | ] |
||
48 | 1 | ); |
|
49 | |||
50 | 1 | $value = $result->search("VerificationToken"); |
|
51 | 1 | $name = "_amazonses.".$this->identity->getDomain(); |
|
52 | |||
53 | 1 | return new Dns("TXT", $name, $value); |
|
54 | } |
||
55 | } |
||
56 |