Legend::tagName()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 1 Features 1
Metric Value
c 2
b 1
f 1
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace hemio\html;
4
5
/**
6
 * The <code>legend</code> element represents a title or explanatory caption for
7
 * the rest of the contents of the legend element's parent element.
8
 *
9
 * @since version 1.0
10
 * @url http://www.w3.org/TR/html5/forms.html#the-legend-element
11
 */
12
class Legend extends Abstract_\ElementContent
13
{
14
15
    use Trait_\DefaultElementContent;
16
17
    public static function tagName()
18
    {
19
        return 'legend';
20
    }
21
}
22