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

Subscription   A

Complexity

Total Complexity 8

Size/Duplication

Total Lines 41
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 41
rs 10
c 0
b 0
f 0
wmc 8

8 Methods

Rating   Name   Duplication   Size   Complexity  
A sortId() 0 3 1
A id() 0 3 1
A htmlUrl() 0 3 1
A firstItemMsec() 0 3 1
A iconUrl() 0 3 1
A url() 0 3 1
A title() 0 3 1
A categories() 0 3 1
1
<?php declare(strict_types=1);
2
3
4
namespace ExileeD\Inoreader\Objects;
5
6
7
class Subscription extends AbstractObject implements ObjectInterface
8
{
9
10
    public function id(): string
11
    {
12
        return $this->data->id;
13
    }
14
15
    public function title(): string
16
    {
17
        return $this->data->title;
18
    }
19
20
    public function categories(): array
21
    {
22
        return $this->data->categories;
23
    }
24
25
    public function sortId(): string
26
    {
27
        return $this->data->sortid;
28
    }
29
30
    public function firstItemMsec(): string
31
    {
32
        return $this->data->firstitemmsec;
33
    }
34
35
    public function url(): string
36
    {
37
        return $this->data->url;
38
    }
39
40
    public function htmlUrl(): string
41
    {
42
        return $this->data->htmlUrl;
43
    }
44
45
    public function iconUrl(): string
46
    {
47
        return $this->data->iconUrl;
48
    }
49
50
51
}
52