CreateTransitionCommand::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

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