CreateStepCommand   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 43
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 43
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 8 1
1
<?php
2
3
namespace Hechoenlaravel\JarvisFoundation\Flows;
4
5
/**
6
 * Class CreateStepCommand
7
 * @package Hechoenlaravel\JarvisFoundation\Flows
8
 */
9
class CreateStepCommand
10
{
11
    /**
12
     * @var
13
     */
14
    public $flow;
15
16
    /**
17
     * @var
18
     */
19
    public $name;
20
21
    /**
22
     * @var
23
     */
24
    public $description;
25
26
    /**
27
     * @var
28
     */
29
    public $order;
30
31
    /**
32
     * @var
33
     */
34
    public $isLast;
35
36
    /**
37
     * @param $flow
38
     * @param $name
39
     * @param $description
40
     * @param int $order
41
     * @param int $isLast
42
     */
43
    public function __construct(Flow $flow, $name, $description, $order = null, $isLast = 0)
44
    {
45
        $this->flow = $flow;
46
        $this->name = $name;
47
        $this->description = $description;
48
        $this->order = $order;
49
        $this->isLast = $isLast;
50
    }
51
}
52