ColumnChanges   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 13
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
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