Laravel this is not only a practical framework, it is also a programming style
I need get if $proyects is empty
$proyects = Proyect::where( 'company_id', $company->id )->get(); if ($proyects == null) { echo "empty"; } else { dd($proyects); }
Aucun commentaire:
Enregistrer un commentaire