| Total Complexity | 8 |
| Total Lines | 45 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | class Mailcode_Parser_Statement_Tokenizer_Token_Keyword extends Mailcode_Parser_Statement_Tokenizer_Token |
||
| 22 | { |
||
| 23 | public function getNormalized(): string |
||
| 26 | } |
||
| 27 | |||
| 28 | public function hasSpacing(): bool |
||
| 29 | { |
||
| 30 | return true; |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Retrieves the keyword, with : appended. |
||
| 35 | * |
||
| 36 | * @return string |
||
| 37 | */ |
||
| 38 | public function getKeyword() : string |
||
| 39 | { |
||
| 40 | return $this->getMatchedText(); |
||
| 41 | } |
||
| 42 | |||
| 43 | public function isForIn() : bool |
||
| 44 | { |
||
| 45 | return $this->getKeyword() === Mailcode_Commands_Keywords::TYPE_IN; |
||
| 46 | } |
||
| 47 | |||
| 48 | public function isInsensitive() : bool |
||
| 51 | } |
||
| 52 | |||
| 53 | public function isURLEncoded() : bool |
||
| 56 | } |
||
| 57 | |||
| 58 | public function isURLDecode() : bool |
||
| 59 | { |
||
| 60 | return $this->getKeyword() === Mailcode_Commands_Keywords::TYPE_URLDECODE; |
||
| 61 | } |
||
| 62 | |||
| 63 | public function isNoHTML() : bool |
||
| 66 | } |
||
| 67 | } |
||
| 68 |