Article::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>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