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
Defs
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 `<defs>` per SVG 2 §5.6 — a container for referenceable elements
9 * (gradients, patterns, symbols, paths …) that should not paint themselves.
10 * The parser preserves the children verbatim; the painter walks any
11 * `<use>` reference that points here at paint time.
12 */
13final class Defs extends Element
14{
15    public function __construct()
16    {
17        parent::__construct('defs');
18    }
19}