Authorization   A
last analyzed

Complexity

Total Complexity 6

Size/Duplication

Total Lines 65
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 2
Bugs 0 Features 1
Metric Value
wmc 6
c 2
b 0
f 1
lcom 0
cbo 0
dl 0
loc 65
ccs 0
cts 24
cp 0
rs 10

6 Methods

Rating   Name   Duplication   Size   Complexity  
A getScopes() 0 4 1
A setScopes() 0 4 1
A getCreatedAt() 0 4 1
A setCreatedAt() 0 4 1
A getUpdatedAt() 0 4 1
A setUpdatedAt() 0 4 1
1
<?php
2
namespace Redbox\Twitch;
3
4
class Authorization {
5
6
    /**
7
     * @var array
8
     */
9
    protected $scopes = [];
10
11
    /**
12
     * @var string
13
     */
14
    protected $created_at = '';
15
16
    /**
17
     * @var string
18
     */
19
    protected $updated_at = '';
20
21
    /**
22
     * @return array
23
     */
24
    public function getScopes()
25
    {
26
        return $this->scopes;
27
    }
28
29
    /**
30
     * @param array $scopes
31
     */
32
    public function setScopes($scopes)
33
    {
34
        $this->scopes = $scopes;
35
    }
36
37
    /**
38
     * @return string
39
     */
40
    public function getCreatedAt()
41
    {
42
        return $this->created_at;
43
    }
44
45
    /**
46
     * @param string $created_at
47
     */
48
    public function setCreatedAt($created_at)
49
    {
50
        $this->created_at = $created_at;
51
    }
52
53
    /**
54
     * @return string
55
     */
56
    public function getUpdatedAt()
57
    {
58
        return $this->updated_at;
59
    }
60
61
    /**
62
     * @param string $updated_at
63
     */
64
    public function setUpdatedAt($updated_at)
65
    {
66
        $this->updated_at = $updated_at;
67
    }
68
}