| Total Complexity | 6 |
| Total Lines | 49 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | class MxChecker implements MxInterface |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * List of record mx found |
||
| 24 | * @var array |
||
| 25 | */ |
||
| 26 | private $recordMx; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @param string $domain |
||
| 30 | * |
||
| 31 | * @throws MxFunctionException if function not found |
||
| 32 | */ |
||
| 33 | function __construct($domain) |
||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Get the value of recordMx |
||
| 43 | * |
||
| 44 | * @return array |
||
| 45 | * |
||
| 46 | * @throws MxCheckerException if record not found |
||
| 47 | */ |
||
| 48 | public function getRecordMx() |
||
| 55 | } |
||
| 56 | |||
| 57 | /** |
||
| 58 | * Sort asc mx record by priority |
||
| 59 | * |
||
| 60 | * @return array |
||
| 61 | */ |
||
| 62 | private function sortRecordByPriority() |
||
| 69 | } |
||
| 70 | } |