| Total Complexity | 5 |
| Total Lines | 48 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 24 | trait Mailcode_Traits_Commands_IfNotEmpty |
||
| 25 | { |
||
| 26 | /** |
||
| 27 | * @var Mailcode_Parser_Statement_Tokenizer_Token_Variable|NULL |
||
| 28 | */ |
||
| 29 | protected $variableToken; |
||
| 30 | |||
| 31 | protected function getValidations() : array |
||
| 32 | { |
||
| 33 | return array( |
||
| 34 | 'variable' |
||
| 35 | ); |
||
| 36 | } |
||
| 37 | |||
| 38 | protected function validateSyntax_variable() : void |
||
| 53 | ); |
||
| 54 | } |
||
| 55 | |||
| 56 | /** |
||
| 57 | * Retrieves the variable being compared. |
||
| 58 | * |
||
| 59 | * @return Mailcode_Variables_Variable |
||
| 60 | */ |
||
| 61 | public function getVariable() : Mailcode_Variables_Variable |
||
| 75 |