Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
CRAP
100.00% covered (success)
100.00%
1 / 1
Symbol
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
1 / 1
 __construct
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
1<?php
2
3declare(strict_types=1);
4
5namespace Phpdftk\Svg;
6
7/**
8 * SVG `<symbol>` per SVG 2 §5.5 — a template element that defines a
9 * graphical content fragment intended to be referenced by `<use>`. Inherits
10 * `viewBox` / `widthAttribute` / `heightAttribute` from `ViewportElement`
11 * since the spec maps a referenced symbol's coordinate system the same
12 * way `<svg>` does.
13 */
14final class Symbol extends ViewportElement
15{
16    public function __construct()
17    {
18        parent::__construct('symbol');
19    }
20}