| Conditions | 3 |
| Paths | 3 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 12 |
| Changes | 0 | ||
| 1 | <?php |
||
| 48 | private function detectConfigPath(array $configPathsToCheck) : string |
||
| 49 | { |
||
| 50 | foreach ($configPathsToCheck as $configPathToCheck) { |
||
| 51 | $configPath = Helpers::expand($configPathToCheck, $this->getContainerBuilder()->parameters); |
||
| 52 | if (file_exists($configPath)) { |
||
| 53 | return $configPath; |
||
| 54 | } |
||
| 55 | } |
||
| 56 | |||
| 57 | return ''; |
||
| 58 | } |
||
| 59 | } |
||
| 60 |
This method has been deprecated.