<commit_before><?php

namespace Lexik\Bundle\JWTAuthenticationBundle\Services\JWSProvider;

/**
 * Interface for classes that are able to create and load JSON web signatures (JWS).
 *
 * @author <NAME> <<EMAIL>>
 */
interface JWSProviderInterface
{
    /**
     * Creates a new JWS signature from a given payload.
     *
     * @param array $payload
     *
     * @return \Lexik\Bundle\JWTAuthenticationBundle\Signature\CreatedJWS
     */
    public function create(array $payload);
<commit_msg>Header support added<commit_after><?php

namespace Lexik\Bundle\JWTAuthenticationBundle\Services\JWSProvider;

/**
 * Interface for classes that are able to create and load JSON web signatures (JWS).
 *
 * @author <NAME> <<EMAIL>>
 */
interface JWSProviderInterface
{
    /**
     * Creates a new JWS signature from a given payload.
     *
     * @param array $header
     * @param array $payload
     *
     * @return \Lexik\Bundle\JWTAuthenticationBundle\Signature\CreatedJWS
     */
    public function create(array $header, array $payload);

{'fraction_non_alphanumeric': 0.10480769230769231, 'fraction_numerical': 0.0, 'mean_word_length': 3.3739495798319328, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3128544', 'n_tokens_mistral': 299, 'n_tokens_neox': 294, 'n_words': 87}