for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace nstdio\svg\text;
use nstdio\svg\ElementInterface;
/**
* Class Text
*
* @package nstdio\svg\text
* @author Edgar Asatryan <[email protected]>
*/
class Text extends BaseText
{
public function __construct(ElementInterface $parent, $value)
parent::__construct($parent);
$this->element->setNodeValue($value);
}
public static function create(ElementInterface $parent, $value)
return new Text($parent, $value);
public function getName()
return 'text';