SortableColumn   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 5
c 1
b 0
f 0
dl 0
loc 13
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
namespace musa11971\SortRequest;
4
5
use musa11971\SortRequest\Support\Foundation\Contracts\Sorter;
6
7
class SortableColumn
8
{
9
    public $name;
10
    public $sorter;
11
12
    /**
13
     * @param string $name
14
     * @param Sorter $sorter
15
     */
16
    public function __construct($name, $sorter)
17
    {
18
        $this->name = $name;
19
        $this->sorter = $sorter;
20
    }
21
}