Article   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>article</code> element represents a section of content that forms an
7
  independent part of a document or site; for example, a magazine or
8
  newspaper article, or a blog entry.
9
 *
10
 * @since version 1.0
11
 * @url http://www.w3.org/TR/html5/sections.html#the-article-element
12
 */
13
class Article extends Abstract_\ElementContent
14
{
15
16
    use Trait_\DefaultElementContent;
17
18
    public static function tagName()
19
    {
20
        return 'article';
21
    }
22
23
    public function blnIsBlock()
24
    {
25
        return true;
26
    }
27
}
28