protected function getHeader(string $padding = '') : string
    {
        $content = (strlen($this->ns) > 0 ? $padding . "namespace $this->ns;\n\n" : '');

        if (count($this->use_list) > 0) {
            sort($this->use_list, SORT_STRING | SORT_FLAG_CASE);
            foreach ($this->use_list as $used) {
                $content .= $padding . "use $used;\n";
            }
            $content .= "\n";
        }

        return $content;
    }