| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 12 | 
| Code Lines | 7 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 1 | Features | 1 | 
| 1 | <?php  | 
            ||
| 29 | public function load(ContainerBuilder $container)  | 
            ||
| 30 |     { | 
            ||
| 31 |         $resourcePath = (function_exists('resource_path')) | 
            ||
| 32 |             ? resource_path('providers') | 
            ||
| 33 |             : app('path').DIRECTORY_SEPARATOR.'resources'.DIRECTORY_SEPARATOR.'providers' | 
            ||
| 34 | ;  | 
            ||
| 35 | |||
| 36 | $rootDir = new FileLocator($resourcePath);  | 
            ||
| 37 | $loader = new YamlFileLoader($container, $rootDir);  | 
            ||
| 38 | |||
| 39 | return $loader;  | 
            ||
| 40 | }  | 
            ||
| 41 | |||
| 59 |