i get a difficulty to remove same colum from the response json (api) in laravel. I try to use the line of code in the model:
$protected $hidden = ['created_at',...];
it make the column hidden for all request, and i try only to hide columns in exception request , any idea please,
Thank you.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire