GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Subscription   A
last analyzed

Complexity

Total Complexity 6

Size/Duplication

Total Lines 86
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1
Metric Value
wmc 6
lcom 0
cbo 1
dl 0
loc 86
rs 10

6 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
A getId() 0 4 1
A isRead() 0 4 1
A setRead() 0 6 1
A isSubscribed() 0 4 1
A setSubscribed() 0 6 1
1
<?php
2
3
/*
4
 * This file is part of the CCDNForum ForumBundle
5
 *
6
 * (c) CCDN (c) CodeConsortium <http://www.codeconsortium.com/>
7
 *
8
 * Available on github <http://www.github.com/codeconsortium/>
9
 *
10
 * For the full copyright and license information, please view the LICENSE
11
 * file that was distributed with this source code.
12
 */
13
14
namespace CCDNForum\ForumBundle\Entity;
15
16
use CCDNForum\ForumBundle\Entity\Model\Subscription as AbstractSubscription;
17
18
/**
19
 *
20
 * @category CCDNForum
21
 * @package  ForumBundle
22
 *
23
 * @author   Reece Fowell <[email protected]>
24
 * @license  http://opensource.org/licenses/MIT MIT
25
 * @version  Release: 2.0
26
 * @link     https://github.com/codeconsortium/CCDNForumForumBundle
27
 *
28
 */
29
class Subscription extends AbstractSubscription
30
{
31
    /**
32
     *
33
     * @var integer $id
34
     */
35
    protected $id;
36
37
    /**
38
     *
39
     * @var Boolean $isRead
40
     */
41
    protected $isRead = false;
42
43
    /**
44
     *
45
     * @var Boolean $isSubscribed
46
     */
47
    protected $isSubscribed = false;
48
49
    /**
50
     *
51
     * @access public
52
     */
53
    public function __construct()
54
    {
55
        parent::__construct();
56
        // your own logic
57
    }
58
59
    /**
60
     * Get id
61
     *
62
     * @return integer
63
     */
64
    public function getId()
65
    {
66
        return $this->id;
67
    }
68
69
    /**
70
     * Get isRead
71
     *
72
     * @return boolean
73
     */
74
    public function isRead()
75
    {
76
        return $this->isRead;
77
    }
78
79
    /**
80
     * Set isRead
81
     *
82
     * @param  boolean      $isRead
83
     * @return Subscription
84
     */
85
    public function setRead($isRead)
86
    {
87
        $this->isRead = $isRead;
88
89
        return $this;
90
    }
91
92
    /**
93
     * Get isSubscribed
94
     *
95
     * @return boolean
96
     */
97
    public function isSubscribed()
98
    {
99
        return $this->isSubscribed;
100
    }
101
102
    /**
103
     * Set isSubscribed
104
     *
105
     * @param  boolean      $isSubscribed
106
     * @return Subscription
107
     */
108
    public function setSubscribed($isSubscribed)
109
    {
110
        $this->isSubscribed = $isSubscribed;
111
112
        return $this;
113
    }
114
}
115