Theme.php
public function getRegisteredSection($sectionKey)
    {
        if (!isset($this->registeredSections[$sectionKey])):
            throw new \Exception("Section \"$sectionKey\" is not registered. Registered sections: " . implode(", ", array_keys($this->registeredSections)));
        endif;

        return $this->registeredSections[$sectionKey];
    }
public function getRegisteredSection($sectionKey)
    {
        if (!isset($this->registeredSections[$sectionKey])):
            throw new \Exception("Section \"$sectionKey\" is not registered. Registered sections: " . implode(", ", array_keys($this->registeredSections)));
        endif;

        return $this->registeredSections[$sectionKey];
    }
Get section by it´s key

@param string $sectionKey
@return \NetLimeTheme\Core\Lib\ThemeSectionBase
@throws \Exception