Skip to content

Commit a379727

Browse files
Add symfony case in getDefaultProxyClient()
1 parent c5c8eed commit a379727

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

DependencyInjection/FOSHttpCacheExtension.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,10 @@ private function getDefaultProxyClient(array $config)
427427
return 'nginx';
428428
}
429429

430+
if (isset($config['symfony'])) {
431+
return 'symfony';
432+
}
433+
430434
throw new InvalidConfigurationException('No proxy client configured');
431435
}
432436
}

0 commit comments

Comments
 (0)