| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | public static function getSettings(string $name): array |
||
| 17 | { |
||
| 18 | $projectPath = self::library()->get( |
||
| 19 | \sprintf( |
||
| 20 | 'app%1$spath%1$sproject', |
||
| 21 | \WebServCo\Framework\Settings::DIVIDER, |
||
| 22 | ), |
||
| 23 | ); |
||
| 24 | if (empty($projectPath)) { |
||
| 25 | return []; |
||
| 26 | } |
||
| 27 | return self::library()->load($name, $projectPath); |
||
| 28 | } |
||
| 38 |