Passed
Push — master ( 84e281...f469f1 )
by Kuts
01:36
created

Item::updated()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php declare(strict_types=1);
2
3
4
namespace ExileeD\Inoreader\Objects;
5
6
7
class Item extends AbstractObject implements ObjectInterface
8
{
9
10
    public function crawlTimeMsec()
11
    {
12
        return $this->data->crawlTimeMsec;
13
    }
14
15
    public function timestampUsec()
16
    {
17
        return $this->data->timestampUsec;
18
    }
19
20
    public function categories(): array
21
    {
22
        return $this->data->categories;
23
    }
24
25
    public function title()
26
    {
27
        return $this->data->title;
28
    }
29
30
    public function published(): int
31
    {
32
        return $this->data->published;
33
    }
34
35
    public function updated(): int
36
    {
37
        return $this->data->updated;
38
    }
39
40
    public function id()
41
    {
42
        return $this->data->id;
43
    }
44
45
    public function canonical()
46
    {
47
        return $this->data->canonical;
48
    }
49
50
    public function alternate()
51
    {
52
        return $this->data->alternate;
53
    }
54
55
    public function summary(): Summary
56
    {
57
        return new Summary($this->data->summary);
58
    }
59
60
    public function author()
61
    {
62
        return $this->data->author;
63
    }
64
65
    public function likingUsers(): array
66
    {
67
        return $this->data->id;
68
    }
69
70
    public function comments(): array
71
    {
72
        return $this->data->comments;
73
    }
74
75
    public function commentsNum()
76
    {
77
        return $this->data->commentsNum;
78
    }
79
80
    public function annotations()
81
    {
82
        return $this->data->id;
83
    }
84
85
    public function origin()
86
    {
87
        return $this->data->id;
88
    }
89
90
91
}