| 1 | <?php |
||
| 7 | class IllegalMailbox extends InvalidEmail |
||
| 8 | { |
||
| 9 | const CODE = 995; |
||
| 10 | const REASON = "The mailbox is illegal."; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var int |
||
| 14 | */ |
||
| 15 | private $responseCode; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * IllegalMailbox constructor. |
||
| 19 | * |
||
| 20 | * @param int $responseCode |
||
| 21 | */ |
||
| 22 | public function __construct($responseCode) |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @return int |
||
| 31 | */ |
||
| 32 | public function getResponseCode() |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return string |
||
| 39 | */ |
||
| 40 | public function __toString() |
||
| 49 | } |
||
| 50 |