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