Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
2 / 2 |
|
100.00% |
2 / 2 |
CRAP | |
100.00% |
1 / 1 |
| FeMergeNode | |
100.00% |
2 / 2 |
|
100.00% |
2 / 2 |
2 | |
100.00% |
1 / 1 |
| __construct | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| in | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace Phpdftk\Svg\Filter; |
| 6 | |
| 7 | use Phpdftk\Svg\Element; |
| 8 | |
| 9 | /** |
| 10 | * SVG 2 Filter Effects §15.11 — `<feMergeNode in>` child of |
| 11 | * `<feMerge>`. Each node names one input layer to stack into |
| 12 | * the merge result. |
| 13 | */ |
| 14 | final class FeMergeNode extends Element |
| 15 | { |
| 16 | public function __construct() |
| 17 | { |
| 18 | parent::__construct('feMergeNode'); |
| 19 | } |
| 20 | |
| 21 | public function in(): ?string |
| 22 | { |
| 23 | return $this->getAttribute('in'); |
| 24 | } |
| 25 | } |