public function getSnippet(string $snptName = '')
    {
        if (empty($snptName)) {
            return $this->snippets;
        } else {
            return isset($this->snippets[$snptName]) ? $this->snippets[$snptName]
                    : null;
        }
    }