<commit_before><?php
/*
 * This file is part of the Eko\FeedBundle Symfony bundle.
 *
 * (c) <NAME> <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Eko\FeedBundle\Formatter;

use Eko\FeedBundle\Item\ItemInterface;

/**
 * Formatter interface
 *
 * This interface contains the methods that a renderer needs to implement
 *
 * @author <NAME> <<EMAIL>>
 */
interface FormatterInterface
{
    /**
     * Initialize XML DOMDocument
     *
     * @abstract
     */
    public function initialize();

    /**
     * Add an entity item to the feed
     *
     * @param \DOMElement   $channel The channel DOM element
     * @param ItemInterface $item    An entity object
     */
    public function addItem(\DOMElement $channel, ItemInterface $item);
}<commit_msg>Remove DOMElement parameter<commit_after><?php
/*
 * This file is part of the Eko\FeedBundle Symfony bundle.
 *
 * (c) <NAME> <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Eko\FeedBundle\Formatter;

use Eko\FeedBundle\Item\ItemInterface;

/**
 * Formatter interface
 *
 * This interface contains the methods that a renderer needs to implement
 *
 * @author <NAME> <<EMAIL>>
 */
interface FormatterInterface
{
    /**
     * Initialize XML DOMDocument
     *
     * @abstract
     */
    public function initialize();

    /**
     * Add an entity item to the feed
     *
     * @param ItemInterface $item    An entity object
     */
    public function addItem(ItemInterface $item);
}
{'fraction_non_alphanumeric': 0.09969788519637462, 'fraction_numerical': 0.0, 'mean_word_length': 3.0, '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': '5086097', 'n_tokens_mistral': 459, 'n_tokens_neox': 454, 'n_words': 167}