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.
Completed
Push — master ( 4d8d0f...6ce062 )
by Bram
16s queued 10s
created

CacheEvent::setTags()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
/**
3
 * @author Bram Gerritsen [email protected]
4
 * @copyright (c) Bram Gerritsen 2013
5
 * @license http://opensource.org/licenses/mit-license.php
6
 */
7
8
namespace StrokerCache\Event;
9
10
use Zend\EventManager\Event;
11
use Zend\Mvc\MvcEvent;
12
13
class CacheEvent extends Event
14
{
15
    const EVENT_SAVE = 'save';
16
    const EVENT_LOAD = 'load';
17
    const EVENT_SHOULDCACHE = 'shouldCache';
18
19
    /**
20
     * @var string
21
     */
22
    protected $cacheKey;
23
24
    /**
25
     * @var MvcEvent
26
     */
27
    protected $mvcEvent;
28
29
    /**
30
     * @var array
31
     */
32
    protected $tags = [];
33
34
    /**
35
     * @return string
36
     */
37
    public function getCacheKey()
38
    {
39
        return $this->cacheKey;
40
    }
41
42
    /**
43
     * @param string $cacheKey
44
     * @return CacheEvent
45
     */
46
    public function setCacheKey($cacheKey)
47
    {
48
        $this->cacheKey = $cacheKey;
49
50
        return $this;
51
    }
52
53
    /**
54
     * @return MvcEvent
55
     */
56
    public function getMvcEvent()
57
    {
58
        return $this->mvcEvent;
59
    }
60
61
    /**
62
     * @param MvcEvent $mvcEvent
63
     * @return CacheEvent
64
     */
65
    public function setMvcEvent($mvcEvent)
66
    {
67
        $this->mvcEvent = $mvcEvent;
68
69
        return $this;
70
    }
71
72
    /**
73
     * @return array
74
     */
75
    public function getTags()
76
    {
77
        return $this->tags;
78
    }
79
80
    /**
81
     * @param array $tags
82
     */
83
    public function setTags(array $tags)
84
    {
85
        $this->tags = $tags;
86
    }
87
}
88