Completed
Push — master ( b78379...b50a04 )
by Nikita
02:03
created

Article::getPublishedTime()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace LaraComponents\Seo\OpenGraph\Objects;
4
5
class Article extends TypeObject
6
{
7
    const TYPE = 'article';
8
9
    protected $publishedTime;
10
11
    protected $modifiedTime;
12
13
    protected $expirationTime;
14
15
    protected $author;
16
17
    protected $section;
18
19
    protected $tag;
20
21
    public function getType()
22
    {
23
        return Article::TYPE;
24
    }
25
26
    public function setPublishedTime($time)
0 ignored issues
show
Unused Code introduced by
The parameter $time is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
27
    {
28
29
    }
30
31
    public function getPublishedTime()
32
    {
33
        return $this->publishedTime;
34
    }
35
36
    public function setModifiedTime($time)
0 ignored issues
show
Unused Code introduced by
The parameter $time is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
37
    {
38
39
    }
40
41
    public function getModifiedTime()
42
    {
43
        return $this->modifiedTime;
44
    }
45
46
    public function setExpirationTime($time)
0 ignored issues
show
Unused Code introduced by
The parameter $time is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
47
    {
48
49
    }
50
51
    public function getExpirationTime()
52
    {
53
        return $this->expirationTime;
54
    }
55
56
    public function setAuthor($author)
0 ignored issues
show
Unused Code introduced by
The parameter $author is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
57
    {
58
59
    }
60
61
    public function getAuthor()
62
    {
63
        return $this->author;
64
    }
65
66
    public function setSection($section)
0 ignored issues
show
Unused Code introduced by
The parameter $section is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
67
    {
68
69
    }
70
71
    public function getSection()
72
    {
73
        return $this->section;
74
    }
75
76
    public function setTag($tag)
0 ignored issues
show
Unused Code introduced by
The parameter $tag is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
77
    {
78
79
    }
80
81
    public function getTag()
82
    {
83
        return $this->tag;
84
    }
85
}
86