Update Place model, add name method

This commit is contained in:
Daniel Supernault 2020-11-27 14:22:05 -07:00
parent 576cc82ec5
commit 9d1499eeb9
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -40,4 +40,9 @@ class Place extends Model
{ {
return $this->url(); return $this->url();
} }
public function getName()
{
return $this->name . ', ' . $this->country;
}
} }