DependencyInjection/Source/EasyJWTCreatorSource.php
private function createSignerServiceConfiguration(array $config, $id, array $section)
    {
        $config['signers'] = array_merge(
            array_key_exists('signers', $config) ? $config['signers'] : [],
            [$id => [
                'is_public'  => $section['is_public'],
                'algorithms' => $section['signature_algorithms'],
            ]]
        );

        return $config;
    }
private function createSignerServiceConfiguration(array $config, $id, array $section)
    {
        $config['signers'] = array_merge(
            array_key_exists('signers', $config) ? $config['signers'] : [],
            [$id => [
                'is_public'  => $section['is_public'],
                'algorithms' => $section['signature_algorithms'],
            ]]
        );

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

@return array