MPath::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 3
cts 3
cp 1
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
crap 1
1
<?php
2
namespace nstdio\svg\animation;
3
use nstdio\svg\attributes\Core;
4
use nstdio\svg\attributes\ExternalResourcesRequired;
5
use nstdio\svg\attributes\XLink;
6
use nstdio\svg\ElementInterface;
7
8
/**
9
 * Class MPath
10
 *
11
 * @package nstdio\svg\animation
12
 * @author  Edgar Asatryan <[email protected]>
13
 */
14
class MPath extends BaseAnimation implements Core, XLink, ExternalResourcesRequired
15
{
16
17 2
    public function __construct(ElementInterface $parent)
18
    {
19 2
        parent::__construct($parent);
20 2
    }
21
22 2
    public function getName()
23
    {
24 2
        return 'mpath';
25
    }
26
}