EditFlowCommand   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 36
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 36
rs 10
c 0
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 EditFlowCommand
7
 * @package Hechoenlaravel\JarvisFoundation\Flows
8
 */
9
class EditFlowCommand
10
{
11
    /**
12
     * @var Flow
13
     */
14
    public $flow;
15
16
    /**
17
     * @var
18
     */
19
    public $name;
20
21
    /**
22
     * @var
23
     */
24
    public $description;
25
26
    /**
27
     * @var int
28
     */
29
    public $active;
30
31
    /**
32
     * @param Flow $flow
33
     * @param $name
34
     * @param $description
35
     * @param int $active
36
     */
37
    public function __construct(Flow $flow, $name, $description, $active = 0)
38
    {
39
        $this->flow = $flow;
40
        $this->name = $name;
41
        $this->description = $description;
42
        $this->active = $active;
43
    }
44
}
45