We were talking about Laravel 5 on its release, we are pleased today to welcome Laravel 5.1
I'm using mass-assignment dynamically in controller.
$mod = 'App\\'.$modelName; foreach ($request->fields as $key => $value) { $mod::create($value); }
Aucun commentaire:
Enregistrer un commentaire