protected function getAttributeCode(): string
    {
        $code = '';
        if (count($this->getAllAttributes()) > 0) {
            foreach ($this->getAllAttributes() as $name => $value) {
                $code .= " $name=\"$value\"";
            }
        }

        return $code;
    }