Completed
Pull Request — master (#1735)
by
unknown
03:01
created

BlogPosting   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A typeDefintion() 0 4 1
1
<?php
2
3
namespace luya\web\jsonld;
4
5
/**
6
 * JsonLd - Blog Posting
7
 *
8
 * A blog post.
9
 *
10
 * @see http://schema.org/BlogPosting
11
 *
12
 * @author Alex Schmid <[email protected]>
13
 * @since 1.0.1
14
 */
15
class BlogPosting extends BaseThing implements BlogPostingInterface
16
{
17
    /**
18
     * @inheritdoc
19
     */
20
    public function typeDefintion()
21
    {
22
        return 'BlogPosting';
23
    }
24
25
    use BlogPostingTrait;
26
}