PointLight::getName()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 1
1
<?php
2
namespace nstdio\svg\light;
3
4
/**
5
 * Class PointLight
6
 *
7
 * @link     https://www.w3.org/TR/SVG11/filters.html#fePointLightElement
8
 *
9
 * @property float x = "<number>" X location for the light source in the coordinate system established by attribute
10
 *           ‘primitiveUnits’ on the ‘filter’ element. If the attribute is not specified, then the effect is as if a
11
 *           value of 0 were specified.
12
 * @property float y = "<number>" Y location for the light source in the coordinate system established by attribute
13
 *           ‘primitiveUnits’ on the ‘filter’ element. If the attribute is not specified, then the effect is as if a
14
 *           value of 0 were specified.
15
 * @property float z = "<number>" Z location for the light source in the coordinate system established by attribute
16
 *           ‘primitiveUnits’ on the ‘filter’ element, assuming that, in the initial coordinate system, the positive
17
 *           Z-axis comes out towards the person viewing the content and assuming that one unit along the Z-axis equals
18
 *           one unit in X and Y. If the attribute is not specified, then the effect is as if a value of 0 were
19
 *           specified.
20
 * @package  nstdio\svg\light
21
 * @author   Edgar Asatryan <[email protected]>
22
 */
23
class PointLight extends BaseLight
24
{
25
26 3
    public function getName()
27
    {
28 3
        return 'fePointLight';
29
    }
30
}