FontFaceSrc   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
dl 0
loc 11
c 0
b 0
f 0
wmc 1
lcom 0
cbo 1
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\font;
3
4
/**
5
 * Class FontFaceSrc
6
 * The ‘font-face-src’ element, together with the ‘font-face-uri’ and ‘font-face-format’ elements described in the
7
 * following sections, correspond to the ‘src’ descriptor within an @font-face rule. (Refer to the descriptions of the
8
 * @font-face rule and 'src' descriptor in the CSS2 specification ([CSS2], sections 15.3.1 and 15.3.5).
9
 *
10
 * A ‘font-face-src’ element contains ‘font-face-uri’ and ‘font-face-name’ elements, which are used for referencing
11
 * external and local fonts, respectively.
12
 *
13
 * @package nstdio\svg\font
14
 * @author  Edgar Asatryan <[email protected]>
15
 */
16
class FontFaceSrc extends BaseFont
17
{
18
    /**
19
     * @inheritdoc
20
     */
21 1
    public function getName()
22
    {
23 1
        return "font-face-src";
24
    }
25
26
}