<commit_before><?php

namespace Sensio\Bundle\FrameworkExtraBundle\EventListener;

use Symfony\Component\HttpKernel\Event\FilterResponseEvent;
use Symfony\Component\HttpFoundation\Response;

/*
 * This file is part of the Symfony framework.
 *
 * (c) <NAME> <<EMAIL>>
 *
 * This source file is subject to the MIT license that is bundled
 * with this source code in the file LICENSE.
 */

/**
 * The CacheListener class has the responsability to modify the
 * Response object when a controller uses the @Cache annotation.
 *
 * @author     <NAME> <<EMAIL>>
 */
class CacheListener
{
    /**
     * Modifies the response to apply HTTP expiration header fields.
     *
     * @param FilterResponseEvent $event The notified event<commit_msg>Surround @Cache annotation in quotes and fix comment typo<commit_after><?php

namespace Sensio\Bundle\FrameworkExtraBundle\EventListener;

use Symfony\Component\HttpKernel\Event\FilterResponseEvent;
use Symfony\Component\HttpFoundation\Response;

/*
 * This file is part of the Symfony framework.
 *
 * (c) <NAME> <<EMAIL>>
 *
 * This source file is subject to the MIT license that is bundled
 * with this source code in the file LICENSE.
 */

/**
 * The CacheListener class has the responsibility to modify the
 * Response object when a controller uses the "@Cache" annotation.
 *
 * @author     <NAME> <<EMAIL>>
 */
class CacheListener
{
    /**
     * Modifies the response to apply HTTP expiration header fields.
     *
     * @param FilterResponseEvent $event The notified event
{'fraction_non_alphanumeric': 0.08881578947368421, 'fraction_numerical': 0.0, 'mean_word_length': 3.8594249201277955, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 15, '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': '4799391', 'n_tokens_mistral': 411, 'n_tokens_neox': 403, 'n_words': 159}