Completed
Push — master ( 2d6ebf...a61d5f )
by Basil
17:04
created

Article   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A typeDefintion() 0 4 1
1
<?php
2
3
namespace luya\web\jsonld;
4
5
/**
6
 * JsonLd - Article
7
 *
8
 * An article, such as a news article or piece of investigative report.
9
 * Newspapers and magazines have articles of many different types and this is intended to cover them all.
10
 *
11
 * @see http://schema.org/Article
12
 *
13
 * @author Alex Schmid <[email protected]>
14
 * @since 1.0.1
15
 */
16
class Article extends BaseThing implements ArticleInterface
17
{
18
    /**
19
     * @inheritdoc
20
     */
21
    public function typeDefintion()
22
    {
23
        return 'Article';
24
    }
25
26
    use ArticleTrait;
27
}