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.

ResolveEntryIdEvent::getWorkflowDispatchEvent()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
/**
3
 * @link https://github.com/old-town/workflow-zf2-dispatch
4
 * @author  Malofeykin Andrey  <[email protected]>
5
 */
6
namespace OldTown\Workflow\ZF2\Dispatch\RunParamsHandler\RouteHandler;
7
8
use OldTown\Workflow\ZF2\Dispatch\Dispatcher\WorkflowDispatchEventInterface;
9
use Zend\EventManager\Event;
10
11
/**
12
 * Class ResolveEntryIdEvent
13
 *
14
 * @package OldTown\Workflow\ZF2\Dispatch\RunParamsHandler\RouteHandler
15
 */
16
class ResolveEntryIdEvent extends Event implements ResolveEntryIdEventInterface
17
{
18
    /**
19
     *
20
     * @var WorkflowDispatchEventInterface
21
     */
22
    protected $workflowDispatchEvent;
23
24
    /**
25
     * Тип запуска workflow (doAction или initialize)
26
     *
27
     * @var string
28
     */
29
    protected $runType;
30
31
    /**
32
     * Имя менеджера workflow
33
     *
34
     * @var string
35
     */
36
    protected $managerName;
37
38
    /**
39
     * Имя запускаемого действия
40
     *
41
     * @var string
42
     */
43
    protected $actionName;
44
45
    /**
46
     * Имя workflow
47
     *
48
     * @var string
49
     */
50
    protected $workflowName;
51
52
    /**
53
     * Псевдоним для доступа к менеджеру workflow
54
     *
55
     * @var string
56
     */
57
    protected $managerAlias;
58
59
    /**
60
     * @return WorkflowDispatchEventInterface
61
     */
62
    public function getWorkflowDispatchEvent()
63
    {
64
        return $this->workflowDispatchEvent;
65
    }
66
67
    /**
68
     * @param WorkflowDispatchEventInterface $workflowDispatchEvent
69
     *
70
     * @return $this
71
     */
72
    public function setWorkflowDispatchEvent(WorkflowDispatchEventInterface $workflowDispatchEvent)
73
    {
74
        $this->workflowDispatchEvent = $workflowDispatchEvent;
75
76
        return $this;
77
    }
78
79
    /**
80
     * Тип запуска workflow (doAction или initialize)
81
     *
82
     * @return string
83
     */
84
    public function getRunType()
85
    {
86
        return $this->runType;
87
    }
88
89
    /**
90
     * Устанавливает тип запуска workflow (doAction или initialize)
91
     *
92
     * @param string $runType
93
     *
94
     * @return $this
95
     */
96
    public function setRunType($runType)
97
    {
98
        $this->runType = $runType;
99
100
        return $this;
101
    }
102
103
    /**
104
     * Имя менеджера workflow
105
     *
106
     * @return string
107
     */
108
    public function getManagerName()
109
    {
110
        return $this->managerName;
111
    }
112
113
    /**
114
     * Устанавливает имя менеджера workflow
115
     *
116
     * @param string $managerName
117
     *
118
     * @return $this
119
     */
120
    public function setManagerName($managerName)
121
    {
122
        $this->managerName = $managerName;
123
124
        return $this;
125
    }
126
127
    /**
128
     * Имя запускаемого действия wf
129
     *
130
     * @return string
131
     */
132
    public function getActionName()
133
    {
134
        return $this->actionName;
135
    }
136
137
    /**
138
     * Устанавливает имя запускаемого действия wf
139
     *
140
     * @param string $actionName
141
     *
142
     * @return $this
143
     */
144
    public function setActionName($actionName)
145
    {
146
        $this->actionName = $actionName;
147
148
        return $this;
149
    }
150
151
    /**
152
     * Возвращает имя workflow
153
     *
154
     * @return string
155
     */
156
    public function getWorkflowName()
157
    {
158
        return $this->workflowName;
159
    }
160
161
    /**
162
     * Устанавливает имя workflow
163
     *
164
     * @param string $workflowName
165
     *
166
     * @return $this
167
     */
168
    public function setWorkflowName($workflowName)
169
    {
170
        $this->workflowName = $workflowName;
171
172
        return $this;
173
    }
174
175
    /**
176
     * Псевдоним для доступа к менеджеру workflow
177
     *
178
     * @return string
179
     */
180
    public function getManagerAlias()
181
    {
182
        return $this->managerAlias;
183
    }
184
185
    /**
186
     * Устанавливает псевдоним для доступа к менеджеру workflow
187
     *
188
     * @param string|null $managerAlias
189
     *
190
     * @return $this
191
     */
192
    public function setManagerAlias($managerAlias)
193
    {
194
        $this->managerAlias = $managerAlias;
195
196
        return $this;
197
    }
198
}
199