Ol   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 2
Bugs 1 Features 0
Metric Value
wmc 2
c 2
b 1
f 0
lcom 0
cbo 2
dl 0
loc 15
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A tagName() 0 4 1
A blnIsBlock() 0 4 1
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