<commit_before><?php
class Vpc_Chained_Trl_MasterAsChild_Component extends Vpc_Abstract
{
    public static function getSettings($masterComponentClass)
    {
        $ret = parent::getSettings();
        $ret['generators']['child'] = array(
            'class' => 'Vps_Component_Generator_Static',
            'component' => $masterComponentClass,
        );
        try {
            $ret['componentName'] = Vpc_Abstract::getSetting($masterComponentClass, 'componentName');
        } catch (Exception $e) {}
        try {
            $ret['componentIcon'] = Vpc_Abstract::getSetting($masterComponentClass, 'componentIcon');
        } catch (Exception $e) {}
        return $ret;
    }

    public function sendContent()
    {
        $this->getData()->getChildComponent('-child')->getComponent()->sendContent();
    }

    public function getChildModel()
    {
        return $this->getData()->getChildComponent('-child')->getComponent()->getChildModel();
    }

    public function getTemplateVars()
    {
        $ret = parent::getTemplateVars();
        $ret['child'] = $this->getData()->getChildComponent('-child');
        return $ret;
    }

}
<commit_msg>Commit rückgängig gemacht, war falsch<commit_after><?php
class Vpc_Chained_Trl_MasterAsChild_Component extends Vpc_Abstract
{
    public static function getSettings($masterComponentClass)
    {
        $ret = parent::getSettings();
        $ret['generators']['child'] = array(
            'class' => 'Vps_Component_Generator_Static',
            'component' => $masterComponentClass,
        );
        try {
            $ret['componentName'] = Vpc_Abstract::getSetting($masterComponentClass, 'componentName');
        } catch (Exception $e) {}
        try {
            $ret['componentIcon'] = Vpc_Abstract::getSetting($masterComponentClass, 'componentIcon');
        } catch (Exception $e) {}
        return $ret;
    }

    public function sendContent()
    {
        $this->getData()->getChildComponent('-child')->getComponent()->sendContent();
    }

    public function getTemplateVars()
    {
        $ret = parent::getTemplateVars();
        $ret['child'] = $this->getData()->getChildComponent('-child');
        return $ret;
    }

}

{'fraction_non_alphanumeric': 0.14596554850407978, 'fraction_numerical': 0.0, 'mean_word_length': 2.9551971326164876, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 23, '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': '7547222', 'n_tokens_mistral': 603, 'n_tokens_neox': 609, 'n_words': 101}