Completed
Push — master ( dcaa5c...3a9efb )
by Edgar
03:44
created

Set   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 8
ccs 2
cts 2
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getName() 0 4 1
1
<?php
2
namespace nstdio\svg\animation;
3
4
use nstdio\svg\attributes\AnimationEvent;
5
use nstdio\svg\attributes\AnimationTarget;
6
use nstdio\svg\attributes\AnimationTiming;
7
use nstdio\svg\attributes\ConditionalProcessing;
8
use nstdio\svg\attributes\ExternalResourcesRequired;
9
use nstdio\svg\attributes\XLink;
10
11
/**
12
 * Class Set
13
 * The 'set' element provides a simple means of just setting the value of an attribute for a specified duration. It
14
 * supports all attribute types, including those that cannot reasonably be interpolated, such as string and boolean
15
 * values. The 'set' element is non-additive. The additive and accumulate attributes are not allowed, and will be
16
 * ignored if specified.
17
 *
18
 * @link    https://www.w3.org/TR/SVG/animate.html#SetElement
19
 * @package nstdio\svg\animation
20
 * @author  Edgar Asatryan <[email protected]>
21
 */
22
class Set extends BaseAnimation implements AnimationEvent, AnimationTarget, AnimationTiming, XLink, ConditionalProcessing, ExternalResourcesRequired
23
{
24
25 1
    public function getName()
26
    {
27 1
        return 'set';
28
    }
29
}