OAuthApp::getId()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
crap 2
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