| Total Complexity | 3 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class Address extends Model |
||
| 8 | { |
||
| 9 | protected $guarded = ['id']; |
||
| 10 | |||
| 11 | /** |
||
| 12 | * Get the route key for the model. |
||
| 13 | * |
||
| 14 | * @return string |
||
| 15 | */ |
||
| 16 | public function getRouteKeyName() |
||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Get all of the owning addressable models. |
||
| 23 | */ |
||
| 24 | public function addressable() |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Get Country. |
||
| 31 | * |
||
| 32 | * @return \CleaniqueCoders\Profile\Models\Country |
||
| 33 | */ |
||
| 34 | public function country() |
||
| 39 |