| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 35 | public function load(array $configs, ContainerBuilder $container) |
||
| 36 | { |
||
| 37 | if ($configs['grant']['client_credentials']['enabled']) { |
||
| 38 | $container->setParameter('oauth2_server.grant.client_credentials.issue_refresh_token', $configs['grant']['client_credentials']['issue_refresh_token']); |
||
| 39 | $loader = new PhpFileLoader($container, new FileLocator(__DIR__.'/../../../Resources/config/grant')); |
||
| 40 | $loader->load('client_credentials.php'); |
||
| 41 | } |
||
| 42 | } |
||
| 43 | |||
| 79 |