FontFaceName   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 FontFaceName
6
 * The ‘font-face-name’ element is used within a ‘font-face-src’ element to reference a local font by name. It
7
 * corresponds to a local(…) clause in an @font-face rule ‘src’ descriptor.
8
 *
9
 * @property string name = "<anything>" The ‘name’ attribute specifies the name of a local font. Unlike the syntax
10
 *           allowed between the parentheses of the local(…) clause in an @font-face rule ‘src’ descriptor, the font
11
 *           name specified in this attribute is not surrounded in single or double quotes. Refer to the description of
12
 *           the 'src' descriptor in CSS2 for details on how the font name is interpreted ([CSS2], section 15.3.5).
13
 * @package nstdio\svg\font
14
 * @author  Edgar Asatryan <[email protected]>
15
 */
16
class FontFaceName extends BaseFont
17
{
18
    /**
19
     * @inheritdoc
20
     */
21 1
    public function getName()
22
    {
23 1
        return "font-face-name";
24
    }
25
26
}