ColumnChanges::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 3
1
<?php
2
/**************************************************************************
3
 * Copyright (C) iFeras93, Inc - All Rights Reserved
4
 *
5
 *
6
 * @file        ColumnChanges.php
7
 * @author      Firas
8
 * @project     HistoriableModel
9
 * @date        2/16/2020
10
 */
11
12
namespace Iferas93\HistoriableModel\Traits\History;
13
14
class ColumnChanges
15
{
16
    public $column;
17
    public $from;
18
    public $to;
19
20
    public function __construct($col, $from_value, $to_value)
21
    {
22
        $this->column = $col;
23
        $this->from = $from_value;
24
        $this->to = $to_value;
25
    }
26
}
27