Completed
Push — master ( 188ffb...31684b )
by Maxime
02:48
created

ServiceDatatable   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 12
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A build() 0 9 1
1
<?php namespace Distilleries\Expendable\Http\Datatables\Service;
2
3
use Distilleries\Expendable\Http\Datatables\BaseDatatable;
4
5
class ServiceDatatable extends BaseDatatable {
6
7
    public function build()
8
    {
9
        $this
10
            ->add('id', null, trans('expendable::datatable.id'))
11
            ->add('action', null, trans('expendable::datatable.action'));
12
13
        $this->addDefaultAction();
14
15
    }
16
}