<commit_before><?php
class Vps_Acl_Resource_ComponentClass_MenuUrl extends Vps_Acl_Resource_MenuUrl
    implements Vps_Acl_Resource_ComponentClass_Interface
{
    protected $_componentClass;

    public function __construct($componentClass, $menuConfig = null, $menuUrl = null)
    {
        $this->_componentClass = $componentClass;
        parent::__construct('vpc_'.$componentClass, $menuConfig, $menuUrl);
    }

    public function getComponentClass()
    {<commit_msg>Menüeintrag für statische Komponente kann jetzt eine andere resourceId als ComponentClass haben, damit man mehrere Menüeinträge für eine Komponente machen kann. Ist Abwärtskompatibel.<commit_after><?php
class Vps_Acl_Resource_ComponentClass_MenuUrl extends Vps_Acl_Resource_MenuUrl
    implements Vps_Acl_Resource_ComponentClass_Interface
{
    protected $_componentClass;

    public function __construct($resourceId, $menuConfig = null, $menuUrl = null, $componentClass = null)
    {
        if (!$componentClass) $componentClass = $resourceId;
        $this->_componentClass = $componentClass;
        parent::__construct('vpc_'.$resourceId, $menuConfig, $menuUrl);
    }

    public function getComponentClass()
    {
{'fraction_non_alphanumeric': 0.0803347280334728, 'fraction_numerical': 0.0, 'mean_word_length': 5.071065989847716, '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': '6260418', 'n_tokens_mistral': 340, 'n_tokens_neox': 348, 'n_words': 76}