Auteur.php 201 B

123456789101112131415
  1. <?php
  2. namespace App\Models;
  3. use Illuminate\Database\Eloquent\Model;
  4. class Auteur extends Model
  5. {
  6. public function livres()
  7. {
  8. return $this->belongsToMany('App\Models\Livre');
  9. }
  10. }