is it better to create separate request class for each new method in controller, or edit existing request class in laravel or any better idea ?
or any better idea ?example
class fooBarController {
public function a(fooBarARequest $r) { } public function b(fooBarBrequest $r) { } public function c(fooBarCDRequest $r) { } public function d(fooBarCDRequest $r) { }}
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire