Skip to content
PHP Ecosystem
Explore

RendersEmptySvg

API reference › HTML SVG › Internal › RendersEmptySvg

traitUIAwesome\Html\Svg\Internal\RendersEmptySvg
Sourcesrc/Internal/RendersEmptySvg.php
Used by 10 types

Serializes empty SVG primitives without HTML void-element syntax.

MethodDescriptionDefined by
run() protectedRenders a self-closing SVG element with XML-compatible attribute values.RendersEmptySvg
protected function run(): string

Renders a self-closing SVG element with XML-compatible attribute values.

Returns

string