CreateTransitionCommand   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 29
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 29
rs 10
c 1
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
1
<?php
2
3
4
namespace Hechoenlaravel\JarvisFoundation\Flows;
5
6
/**
7
 * Class CreateTransitionCommand
8
 * @package Hechoenlaravel\JarvisFoundation\Flows
9
 */
10
class CreateTransitionCommand
11
{
12
    /**
13
     * @var
14
     */
15
    public $flow;
16
17
    /**
18
     * @var
19
     */
20
    public $from;
21
22
    /**
23
     * @var
24
     */
25
    public $to;
26
27
    /**
28
     * @param Flow $flow
29
     * @param Step $from
30
     * @param Step $to
31
     */
32
    public function __construct(Flow $flow, Step $from, Step $to)
33
    {
34
        $this->flow = $flow;
35
        $this->from = $from;
36
        $this->to = $to;
37
    }
38
}
39