src/Overflowable.php 1 location
|
@@ 21-27 (lines=7) @@
|
| 18 |
|
return $attributes; |
| 19 |
|
} |
| 20 |
|
|
| 21 |
|
public function overflow() |
| 22 |
|
{ |
| 23 |
|
$columnNames = $this->getColumnNames(); |
| 24 |
|
$attributes = array_diff_key($this->request->all(), $columnNames); |
| 25 |
|
$attributes = json_encode($attributes); |
| 26 |
|
return $attributes; |
| 27 |
|
} |
| 28 |
|
|
| 29 |
|
public function getTableColumns() |
| 30 |
|
{ |
src/Requests/OverflowFormRequest.php 1 location
|
@@ 34-40 (lines=7) @@
|
| 31 |
|
return $attributes; |
| 32 |
|
} |
| 33 |
|
|
| 34 |
|
public function overflow() |
| 35 |
|
{ |
| 36 |
|
$columnNames = $this->getColumnNames(); |
| 37 |
|
$attributes = array_diff_key($this->all(), $columnNames); |
| 38 |
|
$attributes = json_encode($attributes); |
| 39 |
|
return $attributes; |
| 40 |
|
} |
| 41 |
|
|
| 42 |
|
public function getTableColumns() |
| 43 |
|
{ |