OAuthApp   A
last analyzed

Complexity

Total Complexity 6

Size/Duplication

Total Lines 68
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 6
lcom 0
cbo 0
dl 0
loc 68
ccs 0
cts 24
cp 0
rs 10
c 0
b 0
f 0

6 Methods

Rating   Name   Duplication   Size   Complexity  
A getId() 0 4 1
A setId() 0 4 1
A getSecret() 0 4 1
A setSecret() 0 4 1
A getRedirectUrl() 0 4 1
A setRedirectUrl() 0 4 1
1
<?php
2
3
namespace Acacha\LaravelSocial\Services;
4
5
/**
6
 * Class OAuthApp.
7
 *
8
 * @package Acacha\LaravelSocial\Services
9
 */
10
class OAuthApp
11
{
12
    /**
13
     * OAuth app id.
14
     * @var
15
     */
16
    protected $id;
17
18
    /**
19
     * OAuth app secret.
20
     * @var
21
     */
22
    protected $secret;
23
24
    /**
25
     * OAuth app redirect url.
26
     * @var
27
     */
28
    protected $redirect_url;
29
30
    /**
31
     * @return mixed
32
     */
33
    public function getId()
34
    {
35
        return $this->id;
36
    }
37
38
    /**
39
     * @param mixed $id
40
     */
41
    public function setId($id)
42
    {
43
        $this->id = $id;
44
    }
45
46
    /**
47
     * @return mixed
48
     */
49
    public function getSecret()
50
    {
51
        return $this->secret;
52
    }
53
54
    /**
55
     * @param mixed $secret
56
     */
57
    public function setSecret($secret)
58
    {
59
        $this->secret = $secret;
60
    }
61
62
    /**
63
     * @return mixed
64
     */
65
    public function getRedirectUrl()
66
    {
67
        return $this->redirect_url;
68
    }
69
70
    /**
71
     * @param mixed $redirect_url
72
     */
73
    public function setRedirectUrl($redirect_url)
74
    {
75
        $this->redirect_url = $redirect_url;
76
    }
77
}
78