| Total Complexity | 6 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | trait ConfigurationTokensTrait |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * Extract tokens and replace their values with current configuration. |
||
| 14 | * |
||
| 15 | * @param string $text |
||
| 16 | * |
||
| 17 | * @return array |
||
| 18 | */ |
||
| 19 | public function extractProcessedTokens($text): array |
||
| 29 | ); |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Extract token in given text. |
||
| 34 | * |
||
| 35 | * @param string $text |
||
| 36 | * |
||
| 37 | * @return array |
||
| 38 | */ |
||
| 39 | private function extractRawTokens($text): array |
||
| 52 |