| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php namespace Distilleries\Expendable\States; |
||
| 16 | 8 | public function getIndexDatatable() |
|
| 17 | { |
||
| 18 | 8 | $this->datatable->build(); |
|
| 19 | 8 | $datatable = $this->datatable->generateHtmlRender(); |
|
| 20 | 8 | $this->layoutManager->add([ |
|
| 21 | 8 | 'content'=>view('expendable::admin.form.state.datatable')->with([ |
|
| 22 | 8 | 'datatable' => $datatable |
|
| 23 | ]) |
||
| 24 | ]); |
||
| 25 | |||
| 26 | 8 | return $this->layoutManager->render(); |
|
| 27 | } |
||
| 38 | } |