Conditions | 5 |
Paths | 6 |
Total Lines | 16 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
18 | protected function escapeRow(array $row) |
||
19 | { |
||
20 | $arrayDot = array_filter(array_dot($row)); |
||
|
|||
21 | |||
22 | foreach ($arrayDot as $key => $value) { |
||
23 | if (! in_array($key, $this->rawColumns) && is_string($value)) { |
||
24 | $arrayDot[$key] = e($value); |
||
25 | } |
||
26 | } |
||
27 | |||
28 | foreach ($arrayDot as $key => $value) { |
||
29 | array_set($row, $key, $value); |
||
30 | } |
||
31 | |||
32 | return $row; |
||
33 | } |
||
34 | } |
||
35 |
This function has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the function will be removed from the class and what other function to use instead.