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 ( e97c8c...582899 )
by Андрей
03:36
created

ResolveEntryIdEvent::getWorkflowDispatchEvent()   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
     * @var string
20
     */
21
    const RESOLVE_ENTRY_ID_EVENT = 'workflow.dispatch.resolveEntryId';
22
23
    /**
24
     *
25
     * @var WorkflowDispatchEventInterface
26
     */
27
    protected $workflowDispatchEvent;
28
29
    /**
30
     * Тип запуска workflow (doAction или initialize)
31
     *
32
     * @var string
33
     */
34
    protected $runType;
35
36
    /**
37
     * Имя менеджера workflow
38
     *
39
     * @var string
40
     */
41
    protected $managerName;
42
43
    /**
44
     * Имя запускаемого действия
45
     *
46
     * @var string
47
     */
48
    protected $actionName;
49
50
    /**
51
     * @return WorkflowDispatchEventInterface
52
     */
53
    public function getWorkflowDispatchEvent()
54
    {
55
        return $this->workflowDispatchEvent;
56
    }
57
58
    /**
59
     * @param WorkflowDispatchEventInterface $workflowDispatchEvent
60
     *
61
     * @return $this
62
     */
63
    public function setWorkflowDispatchEvent(WorkflowDispatchEventInterface $workflowDispatchEvent)
64
    {
65
        $this->workflowDispatchEvent = $workflowDispatchEvent;
66
67
        return $this;
68
    }
69
70
    /**
71
     * Тип запуска workflow (doAction или initialize)
72
     *
73
     * @return string
74
     */
75
    public function getRunType()
76
    {
77
        return $this->runType;
78
    }
79
80
    /**
81
     * Устанавливает тип запуска workflow (doAction или initialize)
82
     *
83
     * @param string $runType
84
     *
85
     * @return $this
86
     */
87
    public function setRunType($runType)
88
    {
89
        $this->runType = $runType;
90
91
        return $this;
92
    }
93
94
    /**
95
     * Имя менеджера workflow
96
     *
97
     * @return string
98
     */
99
    public function getManagerName()
100
    {
101
        return $this->managerName;
102
    }
103
104
    /**
105
     * Устанавливает имя менеджера workflow
106
     *
107
     * @param string $managerName
108
     *
109
     * @return $this
110
     */
111
    public function setManagerName($managerName)
112
    {
113
        $this->managerName = $managerName;
114
115
        return $this;
116
    }
117
118
    /**
119
     * Имя запускаемого действия wf
120
     *
121
     * @return string
122
     */
123
    public function getActionName()
124
    {
125
        return $this->actionName;
126
    }
127
128
    /**
129
     * Устанавливает имя запускаемого действия wf
130
     *
131
     * @param string $actionName
132
     *
133
     * @return $this
134
     */
135
    public function setActionName($actionName)
136
    {
137
        $this->actionName = $actionName;
138
139
        return $this;
140
    }
141
}
142