Passed
Push — master ( f17b13...8bf1e0 )
by Radu
01:33
created

Order   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 3
eloc 7
dl 0
loc 19
rs 10
c 0
b 0
f 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getDir() 0 3 1
A getColumn() 0 3 1
A __construct() 0 4 1
1
<?php
2
namespace WebServCo\Framework\DataTables;
3
4
class Order
5
{
6
    protected $column;
7
    protected $dir;
8
9
    public function __construct($column, $dir)
10
    {
11
        $this->column = $column;
12
        $this->dir = $dir;
13
    }
14
15
    public function getColumn()
16
    {
17
        return $this->column;
18
    }
19
20
    public function getDir()
21
    {
22
        return $this->dir;
23
    }
24
}
25