コード例 #1
0
ファイル: Group.php プロジェクト: BibleBowl/account
 public function wordpressLocation()
 {
     return Location::where('location_extrafields', 'like', '%' . $this->guid . '%')->first();
 }
コード例 #2
0
ファイル: Map.php プロジェクト: BibleBowl/account
 public function locations() : array
 {
     return Location::whereIn('location_id', $this->map_locations)->get();
 }