protected function getContent(string $padding = '') : string
    {
        $content = '';

        if (count($this->fragments) > 0) {
            foreach ($this->fragments as $fragment) {
                if (is_string($fragment)) {
                    $content .= $padding . $fragment . "\n";
                } elseif ($fragment instanceof CNabuAbstractFragmentBuilder) {
                    $content .= $fragment->create($padding) . "\n";
                }
            }
        }

        return $content;
    }