File "Symbol.php"
Full Path: /home/ichhrkpd/public_html/includes/php-svg-lib/src/Svg/Tag/Symbol.php
File size: 656 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 Svg\Style;
class Symbol extends AbstractTag
{
protected function before($attributes)
{
$surface = $this->document->getSurface();
$surface->save();
$style = $this->makeStyle($attributes);
$this->setStyle($style);
$surface->setStyle($style);
$this->applyViewbox($attributes);
$this->applyTransform($attributes);
}
protected function after()
{
$this->document->getSurface()->restore();
}
}