Ol::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 0
Metric Value
c 2
b 1
f 0
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>ol</code> element represents a list (or sequence) of items; that is, a list in
7
  which the items are intentionally ordered, such that changing the order
8
  would change the meaning of the list.
9
 *
10
 * @since version 1.0
11
 * @url http://www.w3.org/TR/html5/grouping-content.html#the-ol-element
12
 */
13
class Ol extends Abstract_\ElementContent
14
{
15
16
    use Trait_\Lists;
17
18
    public static function tagName()
19
    {
20
        return 'ol';
21
    }
22
23
    public function blnIsBlock()
24
    {
25
        return true;
26
    }
27
}
28