We were talking about Laravel 5 on its release, we are pleased today to welcome Laravel 5.1
What means $this in laravel?
For example:
public function car() { return $this->hasOne('App\Car'); }
Can I use this for example too?
public function car() { return $car->hasOne('App\Car'); }
Aucun commentaire:
Enregistrer un commentaire