We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dbb7862 + 1bb66c7 commit b4fc0e6Copy full SHA for b4fc0e6
.gitignore
@@ -3,5 +3,3 @@ phpunit.xml
3
vendor
4
composer.lock
5
/composer.phar
6
-
7
src/Factory/ChainFactory.php
@@ -28,7 +28,7 @@ class ChainFactory extends AbstractAdapterFactory
28
*/
29
public function getAdapter(array $config)
30
{
31
- return new CachePoolChain($config['services']);
+ return new CachePoolChain($config['services'], ['skip_on_failure' => $config['skipOnFailure']]);
32
}
33
34
/**
@@ -40,5 +40,7 @@ protected static function configureOptionResolver(OptionsResolver $resolver)
40
41
$resolver->setRequired('services');
42
$resolver->setAllowedTypes('services', ['array']);
43
+
44
+ $resolver->setDefault('skipOnFailure', false);
45
46
0 commit comments