<commit_before><?php
namespace MessageComposite;
/**
 * This class is intended for those who wants a 100% composite implementation. It only opens setter methods to clients
 *
 * Class GenericMessage
 * @package MessageComposite
 * @see MessageComposite\tests\GenericMessageTest
 */
class GenericMessage extends Message
{

    public function __construct($name)
    {
        $this->setName($name);
    }

    public function setElement(Message $element, $pos)
    {
        return parent::setElement($element, $pos);
    }

    public function removeElement($pos)
    {<commit_msg>renaming interface<commit_after><?php
namespace MessageComposite;
/**
 * This class is intended for those who wants a 100% composite implementation. It only opens setter methods to clients
 *
 * Class GenericMessage
 * @package MessageComposite
 * @see MessageComposite\tests\GenericMessageTest
 */
class GenericMessage extends Message
{

    public function __construct($name)
    {
        $this->setName($name);
    }

    public function setElement(MessageInterface $element, $pos)
    {
        return parent::setElement($element, $pos);
    }

    public function removeElement($pos)
    {
{'fraction_non_alphanumeric': 0.09183673469387756, 'fraction_numerical': 0.00510204081632653, 'mean_word_length': 3.7845528455284554, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '720744', 'n_tokens_mistral': 312, 'n_tokens_neox': 301, 'n_words': 95}