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 — dev ( 582899...62b345 )
by Андрей
04:04
created

ResolveEntryIdEvent::getWorkflowName()   A

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
     * @return WorkflowDispatchEventInterface
54
     */
55
    public function getWorkflowDispatchEvent()
56
    {
57
        return $this->workflowDispatchEvent;
58
    }
59
60
    /**
61
     * @param WorkflowDispatchEventInterface $workflowDispatchEvent
62
     *
63
     * @return $this
64
     */
65
    public function setWorkflowDispatchEvent(WorkflowDispatchEventInterface $workflowDispatchEvent)
66
    {
67
        $this->workflowDispatchEvent = $workflowDispatchEvent;
68
69
        return $this;
70
    }
71
72
    /**
73
     * Тип запуска workflow (doAction или initialize)
74
     *
75
     * @return string
76
     */
77
    public function getRunType()
78
    {
79
        return $this->runType;
80
    }
81
82
    /**
83
     * Устанавливает тип запуска workflow (doAction или initialize)
84
     *
85
     * @param string $runType
86
     *
87
     * @return $this
88
     */
89
    public function setRunType($runType)
90
    {
91
        $this->runType = $runType;
92
93
        return $this;
94
    }
95
96
    /**
97
     * Имя менеджера workflow
98
     *
99
     * @return string
100
     */
101
    public function getManagerName()
102
    {
103
        return $this->managerName;
104
    }
105
106
    /**
107
     * Устанавливает имя менеджера workflow
108
     *
109
     * @param string $managerName
110
     *
111
     * @return $this
112
     */
113
    public function setManagerName($managerName)
114
    {
115
        $this->managerName = $managerName;
116
117
        return $this;
118
    }
119
120
    /**
121
     * Имя запускаемого действия wf
122
     *
123
     * @return string
124
     */
125
    public function getActionName()
126
    {
127
        return $this->actionName;
128
    }
129
130
    /**
131
     * Устанавливает имя запускаемого действия wf
132
     *
133
     * @param string $actionName
134
     *
135
     * @return $this
136
     */
137
    public function setActionName($actionName)
138
    {
139
        $this->actionName = $actionName;
140
141
        return $this;
142
    }
143
144
    /**
145
     * Возвращает имя workflow
146
     *
147
     * @return string
148
     */
149
    public function getWorkflowName()
150
    {
151
        return $this->workflowName;
152
    }
153
154
    /**
155
     * Устанавливает имя workflow
156
     *
157
     * @param string $workflowName
158
     *
159
     * @return $this
160
     */
161
    public function setWorkflowName($workflowName)
162
    {
163
        $this->workflowName = $workflowName;
164
165
        return $this;
166
    }
167
}
168