| Total Complexity | 1 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 25 | class Loader |
||
| 26 | { |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Static convenience function to load a configuration from an URI. |
||
| 30 | * |
||
| 31 | * @since 0.4.0 |
||
| 32 | * |
||
| 33 | * @param string $uri URI of the resource to load. |
||
| 34 | * |
||
| 35 | * @return array|null Parsed data loaded from the resource. |
||
| 36 | * @throws FailedToLoadConfigException If the configuration could not be loaded. |
||
| 37 | */ |
||
| 38 | 2 | public static function load($uri) |
|
| 45 |