Total Complexity | 3 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
27 | trait CurrencyNameTrait |
||
28 | { |
||
29 | public function isCurrencyNameEnabled(): bool |
||
30 | { |
||
31 | return $this->requireParams() |
||
|
|||
32 | ->getInfo() |
||
33 | ->hasKeyword(Mailcode_Commands_Keywords::TYPE_CURRENCY_NAME); |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * @param bool $enabled |
||
38 | * @return $this |
||
39 | * @throws Mailcode_Exception |
||
40 | */ |
||
41 | public function setCurrencyNameEnabled(bool $enabled): self |
||
48 | } |
||
49 | |||
50 | public function getCurrencyNameToken(): ?Mailcode_Parser_Statement_Tokenizer_Token_Keyword |
||
56 | } |
||
57 | } |
||
58 |