CreateStepCommand::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 8
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 6
nc 1
nop 5
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