Snippets not works

Hello,

This might be late for you, but might help someone in need. In Theme.php

    private function BasicTab() {
        $basicTab = $this->createTab(
            'basic_tab',
            $this->getLabelAttribute()->get('basic_tab_label'),
            [
                'attributes' => [
                    'autoScroll' => true
                ]
            ]
        );
        $basicFieldset = $this->createFieldSet(
            'basic_fieldset',
            $this->getLabelAttribute()->get('basic_fieldset_label'),
            [
                'attributes' => [
                    'layout' => 'column',
                    'flex' => 0,
                    'defaults' => [
                        'columnWidth' => 1,
                        'labelWidth' => 180,
                        'margin' => '2 15 2 0', 
                        'anchor' => '100%'
                    ]
                ]
            ]
        );
        $basicFieldset->addElement(
            $this->createCheckboxField(
                'basic_checkbox',
                $this->getLabelAttribute()->get('basic_checkbox_label'),
                true,
                ['attributes' => ['lessCompatible' => false]]
            )
        );
        $basicTab->addElement($basicFieldset);
        return $basicTab;
    }

    private function getLabelAttribute()
    {
       return Shopware()->Snippets()->getNamespace('themes/MyThemeName/backend/config');
    }