src/Factory/AbstractAdapterFactory.php
public static function validate(array $options, $adapterName)
    {
        static::verifyDependencies();

        $resolver = new OptionsResolver();
        static::configureOptionResolver($resolver);

        try {
            $resolver->resolve($options);
        } catch (\Exception $e) {
            $message = sprintf(
                'Error while configure adapter %s. Verify your configuration at "cache_adapter.providers.%s.options". %s',
                $adapterName,
                $adapterName,
                $e->getMessage()
            );

            throw new ConfigurationException($message, $e->getCode(), $e);
        }
    }
public static function validate(array $options, $adapterName)
    {
        static::verifyDependencies();

        $resolver = new OptionsResolver();
        static::configureOptionResolver($resolver);

        try {
            $resolver->resolve($options);
        } catch (\Exception $e) {
            $message = sprintf(
                'Error while configure adapter %s. Verify your configuration at "cache_adapter.providers.%s.options". %s',
                $adapterName,
                $adapterName,
                $e->getMessage()
            );

            throw new ConfigurationException($message, $e->getCode(), $e);
        }
    }
{@inheritdoc}