src/Nodes/Texts/SVGTitle.php
<?php
namespace SVG\Nodes\Texts;
use SVG\Nodes\SVGNodeContainer;
use SVG\Rasterization\SVGRasterizer;
/**
* Represents the SVG tag 'title'.
*/
class SVGTitle extends SVGNodeContainer
{
public const TAG_NAME = 'title';
public function __construct(string $text = '')
{
parent::__construct();
$this->setValue($text);
}
/**
* Dummy implementation
*
* @inheritdoc
*/
public function rasterize(SVGRasterizer $rasterizer): void
{
// nothing to rasterize
}
}