| Total Complexity | 3 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 30 | trait IDNDecodeTrait |
||
| 31 | { |
||
| 32 | /** |
||
| 33 | * @param bool $enabled |
||
| 34 | * @return $this |
||
| 35 | */ |
||
| 36 | public function setIDNDecoding(bool $enabled) : self |
||
| 37 | { |
||
| 38 | return $this->setEncodingEnabled(Mailcode_Commands_Keywords::TYPE_IDN_DECODE, $enabled); |
||
|
|
|||
| 39 | } |
||
| 40 | |||
| 41 | public function isIDNDecoded() : bool |
||
| 44 | } |
||
| 45 | |||
| 46 | public function getIDNDecodingToken() : ?Mailcode_Parser_Statement_Tokenizer_Token_Keyword |
||
| 49 | } |
||
| 50 | } |
||
| 51 |