Total Complexity | 4 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
21 | class Mailcode_Variables |
||
22 | { |
||
23 | const REGEX_VARIABLE_NAME = '/\$\s*([A-Z0-9]+)\s*\.\s*([A-Z0-9]+)/sx'; |
||
24 | |||
25 | /** |
||
26 | * Parses the specified string to find all variable names contained within, if any. |
||
27 | * |
||
28 | * @param string $subject |
||
29 | * @return Mailcode_Variables_Collection_Regular |
||
30 | */ |
||
31 | public function parseString(string $subject) : Mailcode_Variables_Collection_Regular |
||
54 |