CreateFlowCommand   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 38
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 38
rs 10
c 1
b 0
f 0

1 Method

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