DependencyInjection/Source/EasyJWTLoaderSource.php
private function createDecrypterServiceConfiguration(array $config, $id, array $section)
    {
        if (false === $this->isEncryptionSupportEnabled($section)) {
            return $config;
        }
        $config['decrypters'] = array_merge(
            array_key_exists('decrypters', $config) ? $config['decrypters'] : [],
            [$id => [
                'is_public'                     => $section['is_public'],
                'key_encryption_algorithms'     => $section['key_encryption_algorithms'],
                'content_encryption_algorithms' => $section['content_encryption_algorithms'],
                'compression_methods'           => $section['compression_methods'],
            ]]
        );

        return $config;
    }
private function createDecrypterServiceConfiguration(array $config, $id, array $section)
    {
        if (false === $this->isEncryptionSupportEnabled($section)) {
            return $config;
        }
        $config['decrypters'] = array_merge(
            array_key_exists('decrypters', $config) ? $config['decrypters'] : [],
            [$id => [
                'is_public'                     => $section['is_public'],
                'key_encryption_algorithms'     => $section['key_encryption_algorithms'],
                'content_encryption_algorithms' => $section['content_encryption_algorithms'],
                'compression_methods'           => $section['compression_methods'],
            ]]
        );

        return $config;
    }
@param array  $config
@param string $id
@param array  $section

@return array