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

ServiceDatatable::build()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 9
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 9
rs 9.6666
cc 1
eloc 5
nc 1
nop 0
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
}