Does anybody use DTO in Laravel? What pros and cons had you noticed, since you applied the pattern? Could you explain the importance of it for a person who's more than fine with Illuminate\Support\Collection which can be retrieved by calling collect() inside my Controller
$params = $request->safe()->collect();
$this->anyService->callAnyMethod($params);
Aucun commentaire:
Enregistrer un commentaire