S
This allows your controller route declarations to use the standard PHP callable syntax, which provides better support for jumping to the controller class in many IDEs
ага, яснопонятно. в принципе, я это даже принимаю. удобненький синтаксис)Size: a a a
S
This allows your controller route declarations to use the standard PHP callable syntax, which provides better support for jumping to the controller class in many IDEs
ага, яснопонятно. в принципе, я это даже принимаю. удобненький синтаксис)DK
This allows your controller route declarations to use the standard PHP callable syntax, which provides better support for jumping to the controller class in many IDEs
ага, яснопонятно. в принципе, я это даже принимаю. удобненький синтаксис)DK
DD
D
D
D
D
DD
D
D
D
DD
YS
S
MS
ЕП
A
A
private function unsetEmptyFields(array $array, array $fields): array
{
return Arr::where($array, function ($value, $key) use ($fields) {
return array_search($key, $fields) === false || $value !== null;
});
}
$data = $this->unsetEmptyFields($data, ['password']);
FL