File "StyleTag.php"
Full Path: /home/ichhrkpd/public_html/bootstrap-wysihtml5/php-svg-lib/src/Svg/Tag/StyleTag.php
File size: 487 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
/**
* @package php-svg-lib
* @link http://github.com/dompdf/php-svg-lib
* @license GNU LGPLv3+ http://www.gnu.org/copyleft/lesser.html
*/
namespace Svg\Tag;
use Sabberworm\CSS;
class StyleTag extends AbstractTag
{
protected $text = "";
public function end()
{
$parser = new CSS\Parser($this->text);
$this->document->appendStyleSheet($parser->parse());
}
public function appendText($text)
{
$this->text .= $text;
}
}