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

SocialMediaPosting   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 - Social Media Posting
7
 *
8
 * A post to a social media platform, including blog posts, tweets, Facebook posts, etc.
9
 *
10
 * @see http://schema.org/SocialMediaPosting
11
 *
12
 * @author Alex Schmid <[email protected]>
13
 * @since 1.0.1
14
 */
15
class SocialMediaPosting extends BaseThing implements SocialMediaPostingInterface
16
{
17
    /**
18
     * @inheritdoc
19
     */
20
    public function typeDefintion()
21
    {
22
        return 'SocialMediaPosting';
23
    }
24
25
    use SocialMediaPostingTrait;
26
}