Completed
Push — master ( 1a8d3e...7d5060 )
by Arjay
01:43 queued 12s
created

ColumnDefinition   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A targets() 0 6 1
1
<?php
2
3
namespace Yajra\DataTables\Html;
4
5
use Illuminate\Support\Fluent;
6
7
class ColumnDefinition extends Fluent
8
{
9
    use HasOptions;
10
11
    public function targets($value)
12
    {
13
        $this->attributes['targets'] = (array) $value;
14
15
        return $this;
16
    }
17
}
18