FontFaceFormat   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 FontFaceFormat
6
 * Child ‘font-face-format’ elements of a ‘font-face-uri’ element are used to specify the supported formats of the font
7
 * referenced by that ‘font-face-uri’ element. They correspond to entries in a format(…) clause of the ‘src’ descriptor
8
 * in an @font-face rule.
9
 *
10
 * @property string string = "<anything>"
11
 *          The ‘string’ attribute is a hint to the user agent, and specifies a list of formats that the font
12
 *          referenced by the parent ‘font-face-uri’ element supports. The syntax of the attribute value is a format
13
 *          string as defined in CSS2, such as 'truetype'. Refer to the description of the 'src' descriptor in CSS2 for
14
 *          details on how the format hint is interpreted ([CSS2], section 15.3.5).
15
 * @package nstdio\svg\font
16
 * @author  Edgar Asatryan <[email protected]>
17
 */
18
class FontFaceFormat extends BaseFont
19
{
20
    /**
21
     * @inheritdoc
22
     */
23 1
    public function getName()
24
    {
25 1
        return "font-face-format";
26
    }
27
28
}