Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
| Metadata | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
| __construct | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace Phpdftk\Svg; |
| 6 | |
| 7 | /** |
| 8 | * SVG 2 §6.4 — `<metadata>` element. Carries arbitrary RDF/XML |
| 9 | * or other namespaced metadata. Never renders directly; the |
| 10 | * typed class lets the Translator skip the element explicitly |
| 11 | * and downstream tooling (sanitisers, optimisers) recognise it. |
| 12 | */ |
| 13 | final class Metadata extends Element |
| 14 | { |
| 15 | public function __construct() |
| 16 | { |
| 17 | parent::__construct('metadata'); |
| 18 | } |
| 19 | } |