WorkflowDTO::getTransition()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
declare(strict_types=1);
4
5
/*
6
 * (c) 2019, Wesley O. Nichols
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Wesnick\WorkflowBundle\Model;
13
14
/**
15
 * Default WorkflowDTO.
16
 *
17
 * @author Wesley O. Nichols <[email protected]>
18
 */
19
class WorkflowDTO
20
{
21
    /**
22
     * @var string
23
     */
24
    protected $transition;
25
26
    /**
27
     * @return string
28
     */
29
    public function getTransition(): string
30
    {
31
        return $this->transition;
32
    }
33
34
    /**
35
     * @param string $transition
36
     */
37
    public function setTransition(string $transition): void
38
    {
39
        $this->transition = $transition;
40
    }
41
}
42