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

BaseComponent::getIndex()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php namespace Distilleries\Expendable\Http\Controllers\Backend\Base;
2
3
4
use Distilleries\DatatableBuilder\Contracts\DatatableStateContract;
5
use Distilleries\Expendable\Contracts\ExportStateContract;
6
use Distilleries\Expendable\Contracts\ImportStateContract;
7
use Distilleries\Expendable\States\DatatableStateTrait;
8
use Distilleries\Expendable\States\ExportStateTrait;
9
use Distilleries\Expendable\States\FormStateTrait;
10
use Distilleries\Expendable\States\ImportStateTrait;
11
use Distilleries\FormBuilder\Contracts\FormStateContract;
12
13
14
15
class BaseComponent extends ModelBaseController implements FormStateContract, DatatableStateContract, ExportStateContract, ImportStateContract {
16
17
    use FormStateTrait;
18
    use ExportStateTrait;
19
    use DatatableStateTrait;
20
    use ImportStateTrait;
21
22
    // ------------------------------------------------------------------------------------------------
23
    // ------------------------------------------------------------------------------------------------
24
    // ------------------------------------------------------------------------------------------------
25
26
    public function getIndex()
27
    {
28
        return $this->getIndexDatatable();
29
    }
30
}