Laravel this is not only a practical framework, it is also a programming style
return $this->belongsTo(User::class);
vs
return $this->belongsTo(App\User);
What is the difference between the above two statements?
Aucun commentaire:
Enregistrer un commentaire