Skip to content

Commit e6a989a

Browse files
committed
add location method to return location of specified method
1 parent 4b67322 commit e6a989a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Models/Method.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,9 @@ public function zone()
2525
return $this->belongsTo(Zone::class);
2626
}
2727

28+
public function location()
29+
{
30+
return $this->belongsTo(Location::class);
31+
}
32+
2833
}

0 commit comments

Comments
 (0)