MissingGlyph::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\font;
3
4
/**
5
 * Class MissingGlyph
6
 * The ‘missing-glyph’ element defines the graphics to use if there is an attempt to draw a glyph from a given font and
7
 * the given glyph has not been defined. The attributes on the ‘missing-glyph’ element have the same meaning as the
8
 * corresponding attributes on the ‘glyph’ element.
9
 *
10
 * @link    https://www.w3.org/TR/SVG11/fonts.html#MissingGlyphElement
11
 * @package nstdio\svg\font
12
 * @author  Edgar Asatryan <[email protected]>
13
 */
14
class MissingGlyph extends BaseFont
15
{
16
17 1
    public function getName()
18
    {
19 1
        return 'missing-glyph';
20
    }
21
}